ingress.yaml 614 B

123456789101112131415161718192021222324
  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4. name: ob-agent-stream
  5. namespace: data
  6. annotations:
  7. nginx.ingress.kubernetes.io/proxy-connect-timeout: "60"
  8. nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
  9. nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
  10. nginx.ingress.kubernetes.io/proxy-body-size: "0"
  11. spec:
  12. rules:
  13. - host: ob-agent-stream.cestong.com.cn
  14. http:
  15. paths:
  16. - path: /
  17. pathType: Prefix
  18. backend:
  19. service:
  20. name: ob-agent-stream-rest
  21. port:
  22. number: 8081
  23. ingressClassName: nginx