Advertisement
sergio_educacionit

ingress.yaml

Dec 16th, 2023
684
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.39 KB | None | 0 0
  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4.   name: nginx-ingress
  5.   namespace: default
  6.   annotations:
  7.     nginx.ingress.kubernetes.io/rewrite-target: /
  8. spec:
  9.   rules:
  10.   - host: tu-dominio-o-ip
  11.     http:
  12.       paths:
  13.       - path: /
  14.         pathType: Prefix
  15.         backend:
  16.           service:
  17.             name: nginx-pod-deploy
  18.             port:
  19.               number: 80
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement