Multi-Key ConfigMap
Beginner Mode
Start your terminal to use beginner mode.
Scenario
An application requires multiple configuration values mounted as files.
Task
Create a ConfigMap and mount it into a pod so all keys are accessible as files.
| Property | Value |
|---|---|
| ConfigMap name | settings |
| Key 1 | MODE=dev |
| Key 2 | VERSION=1.0 |
| Pod name | config-pod |
| Image | busybox:latest |
| Mount path | /etc/config |
| Command | sleep 3600 |
Terminal Environment
Launch the terminal environment to get started.
Track
| Question | Difficulty | Company | Access |
|---|
Need more practice in this area? Explore more questions →
Snap