You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Kubernetes/Kubernetes Workshop/Autoscaling in Kubernetes
At the end of this module, you should be able to:
- Define Autoscaling.
- Set up Horizontal Pod Autoscaling (HPA)
Hands-on Demo: Horizontal Pod Autoscaling (HPA)
Checking YAML There are several ways to validate the syntax of the K8s YAML files. The kubeval program contains the basic K8s syntax, and kube-score offers a more opinionated take. Other options, such as Polaris, have a base set of rules but can be easily extended with custom rules (you want to limit repository usage to only approved repositories).
minikube Dashboard and Lens
Shutdown all services and deployments and stop minikube at the end of this workshop module. <syntaxhighlight lang="bash"> $ minikube stop <syntaxhighlight>