Paths/DevOps Engineer/Kubernetes / Configuration & Resource Limits
Keep Configuration Out of the Image
The same image runs in staging and in production - only the configuration differs. Write a ConfigMap that holds the environment-specific settings.
Validator
⏱ 0:00
IDLE — checks run live as you type commands; submit when done
01Requirements
live checks- Directory ~/k8s exists○
- File ~/k8s/config.yaml declares a ConfigMap○
- The ConfigMap carries the DB_HOST and APP_MODE settings○
02Walkthrough
1 of 5 revealed- 01
Create the manifests directory
All configuration for a service belongs in one folder in the repository.
mkdir ~/k8s - 4 locked · each failed submit reveals one
03Stuck?
0 of 3 revealedTake a hint without losing the lab — each one points at the thing to look at, not at the answer.
04AI Tutor
guides, never solvesTell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?
04Notebook
saved locally in this browserlearner@lab — kubernetes 1.30 (kind)
Session is disposable
↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list