Example of using nginx-ingress with gRPC

This commit is contained in:
Paul Cody Johnston 2018-04-05 22:29:46 -06:00
parent 87d1b8bbf2
commit e98e3f3b9d
15 changed files with 697 additions and 0 deletions

View file

@ -0,0 +1,20 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: fortune-teller-app
labels:
k8s-app: fortune-teller-app
namespace: default
spec:
replicas: 1
template:
metadata:
labels:
k8s-app: fortune-teller-app
spec:
containers:
- name: fortune-teller-app
image: quay.io/kubernetes-ingress-controller/grpc-fortune-teller:0.1
ports:
- containerPort: 50051
name: grpc