This PR includes a configmap for the nginx container in the first exercise. This is to address the suggestion in #8
Essentially, this doesn't change the exercise and the troubleshooting which leads up to it but does provide the ability to the participant to solve the erroring container.
The solution to question 5 in the first exercise would now be:
Edit the configmap so the nginx container listens on port other than 80 (eg kubectl edit)
Output pod def (eg, k describe pod web-server -o yaml > pod.yaml)
This PR includes a configmap for the nginx container in the first exercise. This is to address the suggestion in #8
Essentially, this doesn't change the exercise and the troubleshooting which leads up to it but does provide the ability to the participant to solve the erroring container.
The solution to question 5 in the first exercise would now be:
kubectl edit
)k describe pod web-server -o yaml > pod.yaml
)web-server
pod (k delete pod web-server
)web-server
pod (k apply -f pod.yaml`)