Code Review
/
ta
/
caas-kubedns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add maintenance toleration for kubedns
[ta/caas-kubedns.git]
/
ansible
/
roles
/
kubedns
/
templates
/
kubedns-deployment.yml
diff --git
a/ansible/roles/kubedns/templates/kubedns-deployment.yml
b/ansible/roles/kubedns/templates/kubedns-deployment.yml
index
f47cd09
..
65a25ff
100644
(file)
--- a/
ansible/roles/kubedns/templates/kubedns-deployment.yml
+++ b/
ansible/roles/kubedns/templates/kubedns-deployment.yml
@@
-14,7
+14,7
@@
See the License for the specific language governing permissions and
limitations under the License.
#}
---
limitations under the License.
#}
---
-apiVersion: apps/v1
beta2
+apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-dns
kind: DaemonSet
metadata:
name: kube-dns
@@
-42,6
+42,10
@@
spec:
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
+ - key: "node-maintenancemode"
+ value: "enabled"
+ operator: "Equal"
+ effect: "NoExecute"
volumes:
- name: time-mount
hostPath:
volumes:
- name: time-mount
hostPath:
@@
-78,7
+82,7
@@
spec:
memory: 70Mi
livenessProbe:
tcpSocket:
memory: 70Mi
livenessProbe:
tcpSocket:
- port: 53
+ port:
100
53
initialDelaySeconds: 60
timeoutSeconds: 5
successThreshold: 1
initialDelaySeconds: 60
timeoutSeconds: 5
successThreshold: 1