ingress.yaml 673 B

1234567891011121314151617181920212223242526272829
  1. kind: Ingress
  2. apiVersion: networking.k8s.io/v1
  3. metadata:
  4. name: book-duiba
  5. namespace: pro
  6. annotations:
  7. kubernetes.io/ingress.class: nginx
  8. spec:
  9. rules:
  10. - host: duiba.easou.com
  11. http:
  12. paths:
  13. - path: /
  14. pathType: ImplementationSpecific
  15. backend:
  16. service:
  17. name: book-duiba-svc
  18. port:
  19. number: 8080
  20. - host: duiba.appeasou.com
  21. http:
  22. paths:
  23. - path: /
  24. pathType: ImplementationSpecific
  25. backend:
  26. service:
  27. name: book-duiba-svc
  28. port:
  29. number: 8080