Unverified Commit d0f8f418 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #61311 from k82cn/k8s_61050_1

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Added network-unavailable tolerations when hostNetwork=true. Signed-off-by: 's avatarDa K. Ma <klaus1982.cn@gmail.com> **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #61050 **Release note**: ```release-note None ```
parents ab2d235d d653ff6a
...@@ -37,6 +37,11 @@ spec: ...@@ -37,6 +37,11 @@ spec:
serviceAccountName: metadata-proxy serviceAccountName: metadata-proxy
hostNetwork: true hostNetwork: true
dnsPolicy: Default dnsPolicy: Default
tolerations:
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
containers: containers:
- name: metadata-proxy - name: metadata-proxy
image: k8s.gcr.io/metadata-proxy:v0.1.9 image: k8s.gcr.io/metadata-proxy:v0.1.9
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment