Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- name: nginx-ingress
- namespace: default
- annotations:
- nginx.ingress.kubernetes.io/rewrite-target: /
- spec:
- rules:
- - host: tu-dominio-o-ip
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: nginx-pod-deploy
- port:
- number: 80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement