Difficulty: beginner
Estimated Time: 25h30 minutes

Welcome to your the Kubernetes for beginners workshop!

You've completed your Kubernetes initiation !

Don’t stop now! The next scenario will only take about 10 minutes to complete.

test

Step 1 - test

cd test/kubernetes clear; cat deployment.yaml

then you deploy it

kubectl apply -f deployment.yaml

Wait for the pods to be created then expose

kubectl expose deployment hello-world --name=exposed-service --external-ip="[[HOST_IP]]" --port=80 --target-port=80

you can then try the service at

https://[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com/

The problem is that when refreshing the web page you can see that it is alway the same pod as an host name. Do you have any idea why ?

is there some cache handling in the katacoda proxy ?