Kubernetes

Schedule pod on master

빠빠담 2023. 3. 17. 03:40
반응형

https://computingforgeeks.com/how-to-schedule-pods-on-kubernetes-control-plane-node/

 

If you want to be able to schedule pods on the Kubernetes control-plane node, you need to remove a taint on the master nodes.

 

kubectl taint nodes --all node-role.kubernetes.io/master-
kubectl taint nodes --all node-role.kubernetes.io/control-plane-

This will remove the node-role.kubernetes.io/master taint from any nodes that have it, including the control-plane node

 

For single node the command to use is:

kubectl taint nodes <node-name> node-role.kubernetes.io/master-

 

반응형

'Kubernetes' 카테고리의 다른 글

K8S - On prem Install  (0) 2023.03.17
ArgoCD - Account setup  (0) 2022.01.02
Namespace - Terminating  (0) 2022.01.01
AWS load balancer controller on Fargate - CrashLoopBackOff  (0) 2021.12.28
Docker network  (0) 2021.12.20