1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-23 20:38:04 +00:00

Make control node only unschedulable

This commit is contained in:
galal-hussein
2018-05-31 23:06:59 +02:00
committed by Alena Prokharchyk
parent aabce06714
commit 3c906a9ed2
7 changed files with 36 additions and 9 deletions

View File

@@ -14,6 +14,13 @@ spec:
metadata:
name: pi
spec:
tolerations:
- key: node-role.kubernetes.io/controlplane
operator: Exists
effect: NoExecute
- key: node-role.kubernetes.io/etcd
operator: Exists
effect: NoExecute
hostNetwork: true
serviceAccountName: rke-job-deployer
nodeName: {{$nodeName}}