Topic 1 Question 120
You have an application that runs in Google Kubernetes Engine (GKE). The application consists of several microservices that are deployed to GKE by using Deployments and Services. One of the microservices is experiencing an issue where a Pod returns 403 errors after the Pod has been running for more than five hours. Your development team is working on a solution, but the issue will not be resolved for a month. You need to ensure continued operations until the microservice is fixed. You want to follow Google-recommended practices and use the fewest number of steps. What should you do?
Create a cron job to terminate any Pods that have been running for more than five hours.
Add a HTTP liveness probe to the microservice's deployment.
Monitor the Pods, and terminate any Pods that have been running for more than five hours.
Configure an alert to notify you whenever a Pod returns 403 errors.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: B
Liveness probes are used to monitor the health of containers inside pods. They can identify application instances that have failed, even if the pod appears to be operational, If a liveness probe detects an unhealthy state, Kubernetes kills the container and tries to redeploy it. If the probe succeeds, no action is taken and no events are logged.
👍 6Jason_Cloud_at2023/10/26 Answer should be B
👍 1ManishKS2023/10/01B is Answer.
👍 1mshafa2023/11/02
シャッフルモード