ingress.yaml 501 B

123456789101112131415161718192021
  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4. annotations:
  5. kubernetes.io/ingress.class: nginx
  6. nginx.ingress.kubernetes.io/proxy-connect-timeout: '5'
  7. name: chatgpt-web
  8. spec:
  9. rules:
  10. - host: chatgpt.example.com
  11. http:
  12. paths:
  13. - backend:
  14. service:
  15. name: chatgpt-web
  16. port:
  17. number: 3002
  18. path: /
  19. pathType: ImplementationSpecific
  20. tls:
  21. - secretName: chatgpt-web-tls