configmap Question 10(Lab)

The question 10 of the config map exercise. i wanted to get into the pod using the command vi pod.yaml and it wont bring up the pod so i used kubectl edit pod webapp-color and it brought it up so i did the change but since it wont pull through it gave me the /tmp/ file path and i use the kubectl replace --force -f/tmp… to run the change it was going until it deleted the previous pod but wont accept the change i made. please kindly put me through on this

If it’s not accepting the change, then there is an error in the edit you made. Can’t tell what that is without seeing the error message, and the YAML after you edited it.

Both should be pasted (not screen shots)

as code blocks
so we can read it without it getting mucked up by formatting