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

CKA study material · question 839 of 1000

One container mounts a volume with readOnly: true. What does that mean for the other containers in the Pod?

  1. They inherit the read-only mount
  2. They may still mount the same volume read-write
  3. They cannot mount the volume at all
  4. The volume itself becomes read-only for the whole Pod
Show the answer

Answer: B. They may still mount the same volume read-write

readOnly is a property of one container's mount, not of the volume, so another container in the same Pod may mount it read-write.

Source: Volumes (Kubernetes) — Read-only mounts

Challenge yourself on this topic → Study as cards