Contains materials for Kubernetes basics training
To prepare your environment for training please follow instructions at Environment Setup.
Setup and configure Kubernetes cluster so that myapp
endpoints:
POST /guests
- saves last guestGET /guests
- returns last guest saved withPOST /guests
There is no need to modify application code or it's docker image. However you need to install Redis wihin cluster and configure myapp to connect to it.
Hints:
- What configuration does
myapp
need? - Is there a helm chart for Redis?
- What is Redis host address?
- How to get or set Redis password?
- Should we check Redis connection in readiness probe?
See only if you feel lost: Solution description