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 requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Kubernetes Environment
Launch a live cluster to solve this challenge.
Track
| Question | Difficulty | Company | Access |
|---|
Need more practice in this area? Explore more questions →
Snap