limitations under the License.
#}
---
-apiVersion: apps/v1beta2
+apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-dns
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
spec:
+ priorityClassName: "system-cluster-critical"
hostNetwork: true
nodeSelector:
nodetype: caas_master
limits:
memory: 170Mi
requests:
- cpu: 100m
+ cpu: 10m
memory: 70Mi
livenessProbe:
tcpSocket:
- port: 53
+ port: 10053
initialDelaySeconds: 60
timeoutSeconds: 5
successThreshold: 1
- containerPort: 10055
name: metrics
protocol: TCP
+ resources:
+ requests:
+ cpu: 10m
+ memory: 70Mi
volumeMounts:
- name: time-mount
mountPath: /etc/localtime