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.