netmaker/kube/netmaker-ingress-grpc.yaml

18 lines
371 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:
- host: grpc.test.netmaker.org
http:
paths:
- path: /
backend:
serviceName: netmaker-grpc
servicePort: 50051