ingress.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. kind: Ingress
  2. apiVersion: networking.k8s.io/v1
  3. metadata:
  4. name: book-appeasou-com
  5. namespace: pro
  6. spec:
  7. tls:
  8. - hosts:
  9. - book.appeasou.com
  10. secretName: appeasou-com
  11. rules:
  12. - host: book.appeasou.com
  13. http:
  14. paths:
  15. - path: /
  16. pathType: ImplementationSpecific
  17. backend:
  18. service:
  19. name: book-touchrs-base-svc
  20. port:
  21. number: 8080
  22. tls:
  23. - secretName: book-easou-com
  24. rules:
  25. - host: book.easou.com
  26. http:
  27. paths:
  28. - pathType: ImplementationSpecific
  29. backend:
  30. service:
  31. name: book-touchrs-base-svc
  32. port:
  33. number: 8080
  34. tls:
  35. - hosts:
  36. - book.easou.com.cn
  37. secretName: book-easou-com-cn
  38. rules:
  39. - host: book.easou.com.cn
  40. http:
  41. paths:
  42. - path: /
  43. pathType: ImplementationSpecific
  44. backend:
  45. service:
  46. name: book-touchrs-base-svc
  47. port:
  48. number: 8080