해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. Identify the number of containers created in the red pod.
Q2. Identify the name of the containers running in the blue pod.
Q3. Create a multi-container pod with 2 containers. Use the spec given below. If the pod goes into the crashloopbackoff then add the command sleep 1000 in the lemon container.
-
Name: yellow
-
Container 1 Name: lemon
-
Container 1 Image: busybox
-
Container 2 Name: gold
-
Container 2 Image: redis
Q4. We have deployed an application logging stack in the elastic-stack namespace. Inspect it.
Q5. Once the pod is in a ready state, inspect the Kibana UI using the link above your terminal. There shouldn't be any logs for now.
Q6. Inspect the app pod and identify the number of containers in it.
Q7. The application outputs logs to the file /log/app.log. View the logs and try to identify the user having issues with Login.
Q8. Edit the pod to add a sidecar container to send logs to Elastic Search. Mount the log volume to the sidecar container.
Q9. Inspect the Kibana UI. You should now see logs appearing in the Discover section.
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 117: If you like it, Share it! (0) | 2023.01.13 |
---|---|
Udemy CKA 강의 정리 116: Self Healing Applications (0) | 2023.01.13 |
Udemy CKA 강의 정리 111: Solution - Multi Container PODs (optional) (0) | 2023.01.13 |
Udemy CKA 강의 정리 115: Solution - Init Containers (optional) (0) | 2023.01.13 |
Udemy CKA 강의 정리 114: Practice Test - Init Containers (0) | 2023.01.13 |
댓글