diff --git a/advanced/ElasticScale/README.adoc b/advanced/ElasticScale/README.adoc index d0235bb..d5152f8 100644 --- a/advanced/ElasticScale/README.adoc +++ b/advanced/ElasticScale/README.adoc @@ -39,6 +39,11 @@ kubectl delete hpa random-generator # Check that HPA is deleted # Install VPA according to https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler +''' +git clone git@github.com:kubernetes/autoscaler.git +cd ./autoscaler/vertical-pod-autoscaler +./hack/vpa-up.sh +''' # Deploy app if not already deployed kubectl create -f deployment.yml diff --git a/advanced/ElasticScale/hpa.yml b/advanced/ElasticScale/hpa.yml index eaa39d3..80e326d 100644 --- a/advanced/ElasticScale/hpa.yml +++ b/advanced/ElasticScale/hpa.yml @@ -1,4 +1,4 @@ -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: random-generator