Improvement for k8s.io/docs/tutorials/kubernetes-basics/scale/scale-intro/
The text states: "We hit a different Pod with every request. This demonstrates that the load-balancing is working."
Everything worked fine as followed by the tutorial but how do we know or actually see that a different Pod was invoked for the multiple curl requests?
Nothing is demonstrated or confirms that multiple Pods were involved. Is there a log trace somewhere or a command execution history logged where we can actually see the "demonstration" that multiple Pods were involved in the scaling or is it just blind trust?
Tutorial page link with issue: https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/
/language en /sig docs
I think it would be good to add sample expected output from the multiple curl requests along with current text in the page to show load-balancing is working.
I expect that the sample output, if following the tutorials, is similar to:
Hello Kubernetes bootcamp! | Running on: kubernetes-bootcamp-644c5687f4-wp67j | v=1
Hello Kubernetes bootcamp! | Running on: kubernetes-bootcamp-644c5687f4-hs9dj | v=1
Hello Kubernetes bootcamp! | Running on: kubernetes-bootcamp-644c5687f4-4hjvf | v=1
Hello Kubernetes bootcamp! | Running on: kubernetes-bootcamp-644c5687f4-wp67j | v=1
Hello Kubernetes bootcamp! | Running on: kubernetes-bootcamp-644c5687f4-4hjvf | v=1
We hit a different Pod with every request
is misleading. The choice of backing pod is pseudorandom and could repeat (see above example) rather than being different for each and every request.
/triage accepted /priority backlog
See https://github.com/kubernetes/website/issues/47345#issuecomment-2266684730
/assign