Topic 1 Question 222
You have a container deployed on Google Kubernetes Engine. The container can sometimes be slow to launch, so you have implemented a liveness probe. You notice that the liveness probe occasionally fails on launch. What should you do?
Add a startup probe.
Increase the initial delay for the liveness probe.
Increase the CPU limit for the container.
Add a readiness probe.
ユーザの投票
コメント(8)
- 正解だと思う選択肢: B
Increase the Timeout of the Liveness Probe
👍 3TNT872022/12/02 - 正解だと思う選択肢: B👍 2zellck2022/12/20
- 正解だと思う選択肢: A
A. Adding a startup probe is useful for determining when a container has started, but it won't help with the problem of the liveness probe occasionally failing on launch.
B. Increasing the initial delay for the liveness probe might help if the container is taking longer than the delay to start, but it's not a guaranteed solution.
C. Increasing the CPU limit for the container may help if the container is running out of resources, but it may not be necessary if the issue is related to the container's initialization process.
D. A readiness probe can help determine when a container is ready to receive traffic, but it won't help with the problem of the liveness probe occasionally failing on launch.
👍 2omermahgoub2023/01/27
シャッフルモード