Udemy CKA 강의 정리 26: Practice Test - Pods
해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. How many pods
exist on the system? In the current(default) namespace.
Q2. Create a new pod with the nginx
image.
- Image name: nginx
Q3. How many pods are created now? Note: We have created a few more pods. So please check again.
Q4. What is the image used to create the new pods? You must look at one of the new pods in detail to figure this out.
Q5. Which nodes are these pods placed on? You must look at all the pods in detail to figure this out.
Q6. How many containers are part of the pod webapp
? Note: We just created a new POD. Ignore the state of the POD for now.
Q7. What images are used in the new webapp
pod? You must look at all the pods in detail to figure this out.
Q8. What is the state of the container agentx
in the pod webapp
? Wait for it to finish the ContainerCreating
state
Q9. Why do you think the container agentx
in pod webapp
is in error? Try to figure it out from the events section of the pod.
Q10. What does the READY
column in the output of the kubectl get pods
command indicate?
Q11. Delete the webapp
Pod. Once deleted, wait for the pod to fully terminate.
Q12. Create a new pod with the name redis
and with the image redis123
. Use a pod-definition YAML file. And yes the image name is wrong!
Q13. Now change the image on this pod to redis
. Once done, the pod should be in a running
state.