What is the difference between ConfigMap subPath mounts and regular ConfigMap volume mounts?

Kubernetes Fundamentals Hard

Kubernetes Fundamentals — Hard

What is the difference between ConfigMap subPath mounts and regular ConfigMap volume mounts?

Key points

  • SubPath mounts target specific file paths.
  • Regular mounts update automatically.
  • SubPath mounts do not update when ConfigMap changes.
  • Regular mounts replace all files in a directory.
  • SubPath mounts enable selective file injection.

Ready to go further?

Related questions