Advertisement
sergio_educacionit

nginx-pod-deploy_ingress.yaml

Dec 16th, 2023 (edited)
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 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: k8s
  11. http:
  12. paths:
  13. - path: /nginx-pod-deploy
  14. pathType: Prefix
  15. backend:
  16. service:
  17. name: nginx-pod-deploy
  18. port:
  19. number: 80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement