A cloud administrator is managing a container environment. The application team has complained that they need to manually restart containers in the event of a failure.
Which solution can the administrator implement to solve this issue?
A cloud administrator is managing a container environment. The application team has complained that they need to manually restart containers in the event of a failure.
Which solution can the administrator implement to solve this issue?
Kubernetes is a container orchestration platform that can manage containerized applications across multiple hosts. It includes features like automatic bin-packing, self-healing, and scaling capabilities. Specifically, Kubernetes can automatically restart containers that fail or are terminated for various reasons using its built-in self-healing mechanism. This feature addresses the problem described, as it ensures that containers are restarted automatically in the event of a failure, reducing the need for manual intervention.
A wise man names Gaurav Kaushik once said... "In Kubernetes, Always is the default restart policy. With this policy, containers will always be restarted if they stop, even if they completed successfully. This policy should be used for applications that always needs to be running."
Option A is correct
Obvisouly, The answer is A. K8s restart container.
Answer is A
A - None of the others options cant restart a container