Challenge, Easy,  on  Kubernetes

Resolve ContainerCreating Issue Caused by Missing ConfigMap

Scenario

A Deployment named web-hydrogen in the hydrogen namespace has Pods stuck in ContainerCreating state because a required ConfigMap is missing.

The file /home/laborant/web-hydrogen.html contains the HTML content needed by the application.

Fix the issue and make the application accessible via NodePort 30099.


Tasks

Create the missing ConfigMap configmap-web-hydrogen-html in the hydrogen namespace using /home/laborant/web-hydrogen.html with key index.html.


# Test application
curl http://cplane-01:30099

💡 Test Cases