CKAD v1.35 · Application Environment, Configuration and Security (25% — the largest CKAD domain) → "Understand ConfigMaps" / "Create & consume Secrets" → "Understand requests, limits, quotas" / "Define resource requirements" Target time: 12 minutes
In namespace apps:
Create a ConfigMap app-config with:
LOG_LEVEL=debug
FEATURE_FLAGS=beta,canary
Create a Secret db-creds (type Opaque) with:
username=appuser
password=hunter2
Create a Deployment api (1 replica, image nginx:1.27-alpine) that:
app-config as environment variablesdb-creds as a read-only volume at /etc/dbCreate a ResourceQuota apps-quota in apps capping the namespace at
cpu=1, memory=1Gi, pods=5.
The Deployment must reach 1/1 ready.