netmaker/kube/components/netmaker-ingress-grpc.yaml

18 lines
374 B
YAML
Raw Normal View History

2021-07-08 05:12:24 +08:00
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: "traefik"
ingress.kubernetes.io/protocol: "h2c"
name: nm-grpc-ingress
namespace: netmaker
spec:
rules:
2021-07-16 03:27:34 +08:00
- host: grpc.NETMAKER_BASE_DOMAIN
2021-07-08 05:12:24 +08:00
http:
paths:
- path: /
backend:
serviceName: netmaker-grpc
servicePort: 50051