Challenge, Medium,  on  Kubernetes

Debug Why a ConfigMap Could Not Be Created

Scenario

A Pod named nara in the japan namespace is not running. The Pod manifest is at /home/laborant/nara.yaml. The developer tried to create a required ConfigMap but was not able to create it.


Task

Inspect the manifest at /home/laborant/nara.yaml, identify the ConfigMap the Pod needs, and find out why it could not be created.

Fix the issue and create the ConfigMap with the following key-value pair.

KeyValue
DEERDeer

Ensure the Pod nara starts running successfully after the fix.

Do not modify the Pod manifest at /home/laborant/nara.yaml.


Hint 1

Inspect any ResourceQuota restrictions in the japan namespace that could be blocking object creation. Use kubectl describe resourcequota -n japan to review the current limits and usage.


Test Cases