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:
committed by
Alena Prokharchyk
parent
aabce06714
commit
3c906a9ed2
@@ -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}}
|
||||
|
Reference in New Issue
Block a user