ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 33 - DCA discussion

Report
Export

One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?

Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

: = The livenessProbe is a mechanism that checks if the container is alive and healthy, and restarts it if it fails1.The orchestrator is the component that manages the deployment and scaling of containers across a cluster of nodes2.The action taken by the orchestrator to fix the unhealthy container isnotto autoscale back and delete the pod, but torecreatethe pod on the same or a different node3. This ensures that the desired number of replicas for the pod is maintained, and that the pod can resume its normal operation. Autoscaling back and deleting the pod would reduce the availability and performance of the service, and would not necessarily alleviate the load.

Configure Liveness, Readiness and Startup Probes | Kubernetes

What is a Container Orchestrator? | Docker

Pod Lifecycle | Kubernetes

I hope this helps you understand the concept of livenessProbe and orchestrator, and how they work with Docker and Kubernetes. If you have any other questions related to Docker, please feel free to ask me.

asked 08/11/2024
Christheo Van Rooyen
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first