Volumes and ephemeral storage · Question 12 of 12

A ConfigMap is mounted as a single file via subPath. After a change to the ConfigMap, the application sees the old content. Why?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • B Files mounted with subPath do not receive updates

Explanation

Without subPath, the kubelet swaps a symbolic link to a new directory. With subPath the original file stays in place, and only a restart of the pod helps.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications