0:00
0% complete
LearnStep 1 of 2
Consuming ConfigMaps
Learning Objectives
- •Mount as volumes
- •Use as environment variables
- •Understand updates
Lesson Outline
LearnStep 1/2
Consuming ConfigMaps
yaml
All Keys as Environment Variables
yaml
As Volume Mount
yaml
Mount Specific Keys
yaml
SubPath for Single File
yaml
ConfigMap Updates
- Volume-mounted ConfigMaps update automatically (with delay)
- Environment variables do NOT update (requires pod restart)
- Use immutable ConfigMaps for versioned configs