본문 바로가기
MLOps/Doker & Kubernetes

Udemy CKA 강의 정리 29: Practice Test - ReplicaSets

by 공부하는 무니 2023. 1. 4.
반응형

해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests  강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.

⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.


💻
ReplicaSets 실습

Q1. How many PODs exist on the system?

In the current(default) namespace.

Q2. How many ReplicaSets exist on the system?

In the current(default) namespace.

Q3. How about now? How many ReplicaSets do you see?

Q4. How many PODs are DESIRED in the new-replica-set?

Q5. What is the image used to create the pods in the new-replica-set?

Q6. How many PODs are READY in the new-replica-set?

Q7. Why do you think the PODs are not ready?

Q8. Delete any one of the 4 PODs.

Q9. How many PODs exist now?

Q10. Why are there still 4 PODs, even after you deleted one?

Q11. Create a ReplicaSet using the replicaset-definition-1.yaml file located at /root/. There is an issue with the file, so try to fix it.

Q12. Fix the issue in the replicaset-definition-2.yaml file and create a ReplicaSet using it. This file is located at /root/.

Q13. Delete the two newly created ReplicaSets - replicaset-1 and replicaset-2

Q14. Fix the original replica set new-replica-setto use the correct busyboximage.

Q15. Scale the ReplicaSet to 5 PODs.

Q16. Now scale the ReplicaSet down to 2 PODs. Use the kubectl scale command or edit the replicaset using kubectl edit replicaset.

반응형

댓글