CKAD · Application Design and Build · lesson 12 of 13

Ephemeral Volumes: emptyDir, configMap, projected

Share temporary data between containers and inject configuration using ephemeral volume types.

14 min · Exam domain: Application Design and Build (20%)

You request a PersistentVolumeClaim for a scratch directory that gets wiped on every deploy. You mount a hostPath to read a config file that already lives in a ConfigMap. Both work. Both add operational complexity for data that does not outlive the Pod.

Kubernetes groups these use cases under ephemeral volumes: volumes that are created with the Pod and deleted when the Pod disappears. The CKAD exam tests this under the Application Design and Build domain (20%), with the competency "Utilize persistent and ephemeral volumes." You need to know four volume types cold: emptyDir, configMap/secret, downwardAPI, and projected.

Enroll to read the rest of this lesson

Free. Your progress and certificate come with it.

Enroll, free