appsops.observer
← All labs

Kubernetes application / Intermediate / 25–40 min

The application that keeps restarting

A locally deployed application repeatedly exits during startup. Inspect its logs and configuration to restore a healthy pod.

LAB IDapps-01-restarting-podTRACK / appsops.observer
Engineer investigating application systems at a workstation

The scenario

A deployment in a disposable kind cluster cannot stay running after a configuration change. Restore startup without changing the container image or startup command.

Mission objectives

  • Inspect the pod's previous logs and mounted configuration.
  • Correct the application configuration without bypassing the startup check.
  • Confirm the deployment is ready and its application can read the expected message.

Get the lab

Download and inspect the installer before running it. It checks the archive's SHA-256 digest and refuses to overwrite an existing lab directory.

curl -fsSLO https://devops.download/labs/apps-01-restarting-pod.sh
less apps-01-restarting-pod.sh
bash apps-01-restarting-pod.sh
cd labs/apps-01-restarting-pod
./setup.sh

When you've made your changes, run ./verify.sh. Remove lab resources with ./teardown.sh.

Download the archive instead ↗

Need a nudge?

Hint #1

Inspect the previous container logs and the ConfigMap mounted at /config.

Hint #2

Compare the file requested by the startup command with the keys in the mounted ConfigMap.

Hint #3 · Deep Dive Runbook on opsbreakfix.com

Read the deep dive runbook ↗

Solved it?

Read the Official Root Cause Analysis & Certification Roadmap on opsbreakfix.com

Continue to opsbreakfix.com ↗

OpsBreakFix ecosystem

Explore the sites.

One connected home for operations knowledge and tools.