mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 10:10:03 -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
@@ -216,6 +216,7 @@ items:
|
||||
- name: xtables-lock
|
||||
mountPath: /run/xtables.lock
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
hostPID: true
|
||||
restartPolicy: Always
|
||||
securityContext:
|
||||
|
||||
Reference in New Issue
Block a user