The healthy application serving old configuration
A healthy web Pod still serves an old release channel after its ConfigMap was updated. Trace the configuration from the Deployment to the running process.

The scenario
The application is Ready and its Service works, but requests return an outdated release channel even though the ConfigMap contains the desired value. Restore the expected response without changing the application or the desired ConfigMap.
Mission objectives
- Compare the ConfigMap, Deployment environment reference, and running application's response.
- Refresh the running workload without changing its application or desired configuration.
- Verify the updated response through the Service.
Lab README
The healthy application serving old configuration
The web Pod is Ready and its Service responds, but the response is an old release channel. The ConfigMap already contains the desired value. Trace the configuration to the running application and restore the expected response without changing the application, the Deployment's configuration reference, or the desired ConfigMap.
Before you begin
Use a disposable machine with Bash, Python 3, Docker, kind and kubectl. Docker
may download the kind node and workload images. The lab creates the single-node
cluster breakfix-apps-04, a separate kubeconfig and an ownership record under
~/.kube. It does not change your default kubeconfig or create cloud
resources. Do not reuse the lab cluster name; setup refuses existing lab files
or nodes and teardown checks the recorded node identity.
Investigate
./setup.sh
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-04" -n breakfix-apps-04 get deployment,pods,service,configmap
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-04" -n breakfix-apps-04 describe deployment channel-web
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-04" -n breakfix-apps-04 get configmap app-settings -o yaml
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-04" -n breakfix-apps-04 exec deploy/channel-web -- wget -qO- http://channel-web/
The values in this exercise are synthetic and not secrets. Do not print real
Secret values when diagnosing production systems. Keep settings.yaml as
the desired source of configuration; refreshing the workload in this
disposable cluster is an operational action, not a substitute for reviewing
changes in a production GitOps workflow.
After repair, run ./verify.sh and ./teardown.sh. Verification checks the
desired ConfigMap, the original workload and Service, the ready endpoint, the
running container's configuration and an HTTP response through the Service.
Teardown deletes the cluster only when its node matches the ownership record.
The related Kubernetes inspection guide and demonstration cover inspecting Deployments, Services and configuration references; the demo does not depict this stale-environment scenario.
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-04-stale-config.sh less apps-04-stale-config.sh
bash apps-04-stale-config.sh
cd labs/apps-04-stale-config
./setup.shWhen you've made your changes, run ./verify.sh. Remove lab resources with ./teardown.sh.
Need a nudge?
Hint #1
Inspect the ConfigMap and the Deployment's environment variable source, then compare them with the running container.
Hint #2
An environment variable is captured when the container starts; changing the ConfigMap does not update an existing process.
Hint #3 · Related guide on opsbreakfix.com
Solved it?
Explore the related guide on opsbreakfix.com.
Continue to opsbreakfix.com ↗