fix the nginx ingress controller yaml file,

that no set hostNetwork,
it cause that no nginx listen for frontend
This commit is contained in:
kweisamx 2017-08-28 09:52:00 +08:00
parent 69c89ccfdd
commit 540acc1643

View file

@ -15,6 +15,7 @@ spec:
prometheus.io/scrape: 'true' prometheus.io/scrape: 'true'
spec: spec:
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
hostNetwork: true
containers: containers:
- image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.11 - image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.11
name: nginx-ingress-lb name: nginx-ingress-lb