{ "id": "liveness-probe-task", "title": "Configure a Liveness Probe", "category": "Workloads", "difficulty": "Medium", "type": "task", "weight": 6, "description": "## Configure a Liveness Probe\n\nKubernetes uses **liveness probes** to know when to restart a container. If a container's liveness probe fails repeatedly, the kubelet kills the container and the pod's restart policy takes effect.\n\n**Your task:**\n\nCreate a Deployment named `probed-app` with:\n- Image: `nginx:alpine`\n- 1 replica\n- A **liveness probe** that:\n - Checks `HTTP GET /` on port `80`\n - `initialDelaySeconds: 5`\n - `periodSeconds: 10`", "hints": [ { "title": "Liveness probe structure", "body": "Add `livenessProbe` under `spec.containers[]`. Use `httpGet` with `path` and `port` fields.", "command": "cat <