Study. uk . com
  1. Home
  2. All questions
  3. Question 985

CKA study material · question 985 of 1000

A Pod has two sidecar containers and one main container. Which two statements describe shutdown? Choose two.

  1. The sidecars are sent TERM only after the main container has finished
  2. The sidecars are sent TERM first, to stop new work arriving
  3. The sidecars stop in the reverse of the order they were declared
  4. The sidecars stop in the order they were declared
Show the answer

Answer: A. The sidecars are sent TERM only after the main container has finished
C. The sidecars stop in the reverse of the order they were declared

Sidecars keep serving the main containers until the last has terminated, then shut down in reverse declaration order.

Source: Pod Lifecycle (Kubernetes) — Termination of Pods › Pod shutdown and sidecar containers

Challenge yourself on this topic → Study as cards