- Inspect
- Diagnose
- Apply fix
- Verify
Your mission
A new revision of the Kubernetes Deployment receipt-api is restarting its Pods and degrading the service.
- workload
- deployment/receipt-api
- status
- degraded
- symptom
- pods restarting after deploy
Current objective
Start by checking the workload state.
Show a hint
Try: kubectl get pods Writable volume pattern
volumeMounts:
- name: <volume-name>
mountPath: <writable-path>
volumes:
- name: <volume-name>
emptyDir: {} Restart clears this attempt. Completed labs are remembered in this browser.
Incident review
The rollout is healthy.
The application can write to /app/runtime while the rest of the container filesystem stays read-only.
Lesson
A read-only root filesystem is a useful security boundary. Mount a writable volume only where the process actually needs one; emptyDir is appropriate here because the report is temporary and does not need to survive the pod.
Choose another scenarioCommand transcript
Your commands and their output will appear here.
Edit deployment/receipt-api
Use the pattern above to complete the writable volume for /app/runtime.