layout | title | permalink | nav_order |
---|---|---|---|
page |
Autoscaling |
/autoscaling |
5 |
kubectl apply -f exercice-files/lab5-1.yaml
kubectl apply -f exercice-files/lab5-2.yaml
kubectl get hpa test -w
Exit with Ctrl+C
kubectl get pods
kubectl scale --replicas=2 deploy load-generator
kubectl get pods
In the Scaleway Console, check Kapsule cluster pools
kubectl delete -f exercice-files/lab5-1.yaml -f exercice-files/lab5-2.yaml
kubectl create -f exercice-files/lab5-3.yaml
kubectl get job,pods -l job=test
In the Scaleway Console, check Kapsule cluster pools
kubectl delete job -l job=test