In this video, I will show you how to set up and use a horizontal pod autoscaling in your Kubernetes cluster.
You will have to deploy a metrics server first without which the auto scaling won't work. Then you have to set the resource limits in your pod definition.
The demo I will be doing in this video, is to setup a pod autoscaler that automatically scales out when cpu utilization increases beyond certain threshold value set and automatically scales down when the cpu utilization drops.
Github: https://github.com/justmeandopensource/kubernetes
Metrics server
https://github.com/kubernetes-incubator/metrics-server
Kubernetes Docs:
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
For any questions/issues/feedback, please leave me a comment and I will get back to you at the earliest. If you liked the video, please share it with your friends and don't forget to subscribe to my channel.
If you wish to support me:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F8FN37PAD629Y&source=url
Hope you found this video informative and useful. Thanks for watching this video.