Kubernetes: control-plane node에 pod 생성 방법
설명
- control-plane node에 pod를 생성할 경우 Pending 상태에서 진행 불가
전역 설정
- 설정
kubectl taint nodes –all node-role.kubernetes.io/master-
- 해제
kubectl taint nodes master node-role.kubernetes.io=master:NoSchedule
해당 pod만 설정
- yaml
...
spec:
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
...