1234567891011121314151617181920212223242526 |
- apiVersion: extensions/v1beta1
- kind: Ingress
- metadata:
- annotations:
- kubernetes.io/ingress.class: "nginx"
- nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
- nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
- nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
- nginx.ingress.kubernetes.io/proxy-body-size: "10m"
- nginx.ingress.kubernetes.io/ssl-redirect: "false"
- nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
- name: py-grpc-example
- namespace: prd
- spec:
- tls:
- - hosts:
- - gw.wanpinghui.com
- secretName: gw-wph-secret
- rules:
- - host: gw.wanpinghui.com
- http:
- paths:
- - path: /
- backend:
- serviceName: py-grpc-example
- servicePort: grpc-greet
|