- key: "CriticalAddonsOnly"
operator: "Exists"
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: secret
hostPath:
path: /etc/kubernetes/ssl
command:
- /usr/bin/kube-dns
args:
- - --domain=nokia.net.
+ - --domain={{ caas.dns_domain }}.
- --dns-port=10053
- --config-dir=/etc/dns_config
- --v=2
name: metrics
protocol: TCP
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: secret
mountPath: /etc/kubernetes/ssl
readOnly: true
- --bind-interfaces
- --dns-forward-max=1000
- --cache-size=10000
- - --server=/nokia.net/127.0.0.1#10053
+ - --server=/{{ caas.dns_domain }}/127.0.0.1#10053
# see: https://github.com/kubernetes/kubernetes/issues/29055 for details
resources:
requests:
cpu: 150m
memory: 20Mi
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: secret
mountPath: /etc/kubernetes/ssl
readOnly: true