Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 587 Bytes
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: example-grpc-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
# kubernetes.io/ingress.global-static-ip-name: example-grpc-ipv4 # You can uncomment and adjust this line if you're not using Let's Encrypt.
labels:
app: example-grpc
spec:
tls:
- hosts:
- localhost # You can ignore this, unless you're using a non-self-signed certificate in "ingress-secret.yaml" manifest.
secretName: example-grpc-secret-localhost
backend:
serviceName: example-grpc-nodeport
servicePort: 8080