Skip to content
Snippets Groups Projects
Unverified Commit c440106e authored by Alexander's avatar Alexander Committed by GitHub
Browse files

add dnsPolicy: ClusterFirstWithHostNet to DaemonSets with hostNetwork: true...

add dnsPolicy: ClusterFirstWithHostNet to DaemonSets with hostNetwork: true value to avoid DNSConfigFormat events (#10618)
parent a1c47b1b
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ spec:
spec:
serviceAccountName: csi-cinder-node-sa
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: node-driver-registrar
image: {{ csi_node_driver_registrar_image_repo }}:{{ csi_node_driver_registrar_image_tag }}
......
......@@ -81,6 +81,7 @@ spec:
- name: CLOUD_CONFIG
value: /etc/config/cloud.conf
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
volumes:
{% if kubelet_flexvolumes_plugins_dir is defined %}
- name: flexvolume-dir
......
......@@ -30,6 +30,7 @@ spec:
{{ calico_ds_nodeselector }}
priorityClassName: system-node-critical
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: calico-node
tolerations:
- operator: Exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment