Add nodeSelctor for other services and node labels before CNI setup (#7613)

This commit is contained in:
efrikin
2021-05-25 23:40:43 +03:00
committed by GitHub
parent bcf695913f
commit 7db76f8809
10 changed files with 20 additions and 7 deletions

View File

@@ -18,6 +18,8 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '9253'
spec:
nodeSelector:
{{ nodelocaldns_ds_nodeselector }}
priorityClassName: system-cluster-critical
serviceAccountName: nodelocaldns
hostNetwork: true
@@ -35,7 +37,7 @@ spec:
memory: {{ nodelocaldns_memory_limit }}
requests:
cpu: {{ nodelocaldns_cpu_requests }}
memory: {{ nodelocaldnsdns_memory_requests }}
memory: {{ nodelocaldns_memory_requests }}
args: [ "-localip", "{{ nodelocaldns_ip }}", "-conf", "/etc/coredns/Corefile", "-upstreamsvc", "coredns" ]
securityContext:
privileged: true