{ "id": "env-vars-configmap", "title": "Environment Variables from ConfigMap", "category": "Configuration", "difficulty": "Easy", "type": "task", "weight": 4, "description": "## Environment Variables from ConfigMap\n\nConfigMaps can inject configuration as environment variables into pods, keeping application images generic and portable.\n\n**Your task:**\n\n1. Create a ConfigMap named `app-env` with two keys:\n - `LOG_LEVEL=debug`\n - `APP_PORT=8080`\n\n2. Create a Pod named `env-pod` using `busybox:1.36` with command `sleep 3600` that loads **all keys** from `app-env` as environment variables using `envFrom`.\n\n**Verify:**\n```bash\nkubectl exec env-pod -- env | grep -E 'LOG_LEVEL|APP_PORT'\n```", "hints": [ { "title": "Create the ConfigMap", "body": "Use `kubectl create configmap` with multiple `--from-literal` flags.", "command": "kubectl create configmap app-env --from-literal=LOG_LEVEL=debug --from-literal=APP_PORT=8080" }, { "title": "Load all ConfigMap keys via envFrom", "body": "Use `envFrom` with `configMapRef` to load all keys at once — simpler than mapping each key individually.", "command": "cat <