add dnsPolicy: ClusterFirstWithHostNet to DaemonSets with hostNetwork: true value to avoid DNSConfigFormat events (#10618)
parent
a1c47b1b20
commit
c440106eff
|
@ -17,6 +17,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: csi-cinder-node-sa
|
serviceAccountName: csi-cinder-node-sa
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
containers:
|
containers:
|
||||||
- name: node-driver-registrar
|
- name: node-driver-registrar
|
||||||
image: {{ csi_node_driver_registrar_image_repo }}:{{ csi_node_driver_registrar_image_tag }}
|
image: {{ csi_node_driver_registrar_image_repo }}:{{ csi_node_driver_registrar_image_tag }}
|
||||||
|
|
|
@ -81,6 +81,7 @@ spec:
|
||||||
- name: CLOUD_CONFIG
|
- name: CLOUD_CONFIG
|
||||||
value: /etc/config/cloud.conf
|
value: /etc/config/cloud.conf
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
volumes:
|
volumes:
|
||||||
{% if kubelet_flexvolumes_plugins_dir is defined %}
|
{% if kubelet_flexvolumes_plugins_dir is defined %}
|
||||||
- name: flexvolume-dir
|
- name: flexvolume-dir
|
||||||
|
|
|
@ -30,6 +30,7 @@ spec:
|
||||||
{{ calico_ds_nodeselector }}
|
{{ calico_ds_nodeselector }}
|
||||||
priorityClassName: system-node-critical
|
priorityClassName: system-node-critical
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
serviceAccountName: calico-node
|
serviceAccountName: calico-node
|
||||||
tolerations:
|
tolerations:
|
||||||
- operator: Exists
|
- operator: Exists
|
||||||
|
|
Loading…
Reference in New Issue