wuestkamp / cka-example-environments

109 stars 94 forks source link

[Suggestion] - Provide nginx config to solve question no.5 in multi-container issue exercise #8

Open techotron opened 2 years ago

techotron commented 2 years ago

First off, I just wanted to say thank you for setting up these exercises - they're exellent! This is just a minor suggestion for broadening the hands on practise with various K8s resources plus it would make it satisfying for the participant as they'd have the means to complete the questions fully without resorting to external resources 🙂

In the first exercise, "Multi-Container Issues", question no.5 is:

Fix the pod and ensure its running.

There isn't a practical solution offered, other than "alter the default configuration".

To make this a more complete solution, the web-server pod could have the nginx container use a configmap, mounted to /etc/nginx/nginx.conf. This way, the participant would be able to edit the config map and then ensure it runs both containers.