Added network-unavailable tolerations for hostNetwork=true.

Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
This commit is contained in:
Da K. Ma 2018-03-19 23:03:03 +08:00
parent 9fe565aba5
commit d653ff6a2f

View File

@ -37,6 +37,11 @@ spec:
serviceAccountName: metadata-proxy
hostNetwork: true
dnsPolicy: Default
tolerations:
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
containers:
- name: metadata-proxy
image: k8s.gcr.io/metadata-proxy:v0.1.9