mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 18:50:08 -03:30
Set dnsPolicy to ClusterFirstWithHostNet when hostNetwork is true (#4843)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
045acc724b
commit
818aa7aeb1
@@ -110,6 +110,7 @@ spec:
|
||||
- name: host-cni-bin
|
||||
mountPath: /host/opt/cni/bin/
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
tolerations:
|
||||
- operator: Exists
|
||||
# Mark pod as critical for rescheduling (Will have no effect starting with kubernetes 1.12)
|
||||
|
||||
Reference in New Issue
Block a user