add hostNetwork

This commit is contained in:
im_vincent__ 2017-03-15 16:10:35 +08:00
parent b7b6b9040e
commit 61098bc1c3
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@ spec:
name: nginx-ingress-lb
spec:
terminationGracePeriodSeconds: 60
hostNetwork: true
containers:
- image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.3
name: nginx-ingress-lb

View file

@ -18,6 +18,7 @@ spec:
# like with kubeadm
# hostNetwork: true
terminationGracePeriodSeconds: 60
hostNetwork: true
containers:
- image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.3
name: nginx-ingress-controller