9

풀이
k describe node controlplane
정답

10번
# Remove from node 'foo' the taint with key 'dedicated' and effect 'NoSchedule' if one exists
kubectl taint nodes foo dedicated:NoSchedule-
# Remove from node 'foo' all the taints with key 'dedicated'
kubectl taint nodes foo dedicated-
- kubectl taint nodes foo dedicated:NoSchedule-
- key가 dedicated이고 effect가 NoSchedule인 taint만 제거
- foo 노드에 dedicated:NoSchedule이라는 taint가 있으면 이를 정확하게 찾아서 제거
- 다른 effect(예: NoExecute, PreferNoSchedule)이 붙은 dedicated taint가 있다면 이 명령어는 영향을 미치지 않음
- kubectl taint nodes foo dedicated-
- key가 dedicated인 모든 taint를 제거
- dedicated라는 key를 가진 taint의 effect가 무엇이든 상관없이 해당 key를 가진 모든 taint를 제거
- dedicated:NoSchedule, dedicated:NoExecute, dedicated:PreferNoSchedule 등 어떤 effect가 붙은 dedicated taint도 모두 제거