Udemy CKA 강의 정리 58: Practice Test - Taints and Tolerations
해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. How many nodes
exist on the system?
Q2. Do any taints exist on node01
node?
Q3. Create a taint on node01
with key of spray
, value of mortein
and effect of NoSchedule
Q4. Create a new pod with the nginx
image and pod name as mosquito.
Q5. What is the state of the POD?
Q6. Why do you think the pod is in a pending state?
Q7. Create another pod named bee
with the nginx
image, which has a toleration set to the taint mortein
.
Q8. Notice the bee
pod was scheduled on node node01
despite the taint.
Q9. Do you see any taints on controlplane
node?
Q10. Remove the taint on controlplane
, which currently has the taint effect of NoSchedule
.
Q11. What is the state of the pod mosquito
now?
Q12. Which node is the POD mosquito
on now?