kind: Ingress apiVersion: networking.k8s.io/v1 metadata: labels: app: test-web name: test-web namespace: test annotations: k8s.apisix.apache.org/enable-websocket: "true" kubernetes.io/ingress.class: apisix kubernetes.io/proxy-connect-timeout: "10" kubernetes.io/proxy-read-timeout: "6" kubernetes.io/proxy-send-timeout: "6" spec: rules: - host: www.***.com http: paths: - path: /test/* pathType: ImplementationSpecific backend: service: name: test-web port: number: 8080
标签:web,service,kubernetes,示例,io,test,k8s,apisix From: https://www.cnblogs.com/lfhblog/p/18215134