반응형
1. We have deployed a POD hosting an application. Inspect it. Wait for it to start.
# k get pods
2.A user - USER5 - has expressed concerns accessing the application. Identify the cause of the issue.
Inspect the logs of the POD
# k logs webapp-1
3. We have deployed a new POD - webapp-2 - hosting an application. Inspect it. Wait for it to start.
4.A user is reporting issues while trying to purchase an item. Identify the user and the cause of the issue
Inspect the logs of the webapp in the POD
# k get pods
# k logs webapp-2
# k logs webapp-2 simple-webapp
: webapp-2 의 로그를 입력했더니 "simple-webapp 혹은 db 중에 선택하라는 옵션이 나왔음
: 문제자체는 webapp 의 이슈를 확인해 simple-webapp을 선택
: 관련되어 로그 확인
: 로그는 총 2개가 나왔으나, 선택지에 USER5 와 관련된 로그는 없기에 USER30으로 결정
728x90
반응형
'cloud > k8s(문제풀이)' 카테고리의 다른 글
[cka] kodekloud-commands and Arguments (0) | 2022.06.15 |
---|---|
[cka]kodekloud-rolling update and rollbacks (0) | 2022.06.15 |
[cka]kodekloud-Monitor Custer Components (0) | 2022.06.13 |
[cka]kodekloud-Multiple Schedulers (0) | 2022.06.13 |
[cka]kodekloud-static pods (0) | 2022.06.13 |