Preface
기본적으로 Kubernetes Master Node에는 Pod가 Deploy 되지 않는다. (보안상의 이유로)
만약, Master Node (Control Plane)에 Pod를 Deploy 하고자 한다면, 아래와 같이 실행 한다.
1
$ kubectl taint nodes --all node-role.kubernetes.io/master-
Command
상기는 명령은 Cluster 내의 모든 Node에서 아래 Taint를 제거 하는것이다.
node-role.kubernetes.io/master
결과
Output은 다음과 같다.
1
2
3
node "test-01" untainted
taint "node-role.kubernetes.io/master:" not found
taint "node-role.kubernetes.io/master:" not found
이후 Scheduler는 Cluster내의 모든 Node에 Pod를 Deploy 한다.