Skip to content

Commit

Permalink
Merge pull request #50 from NeroHin/main
Browse files Browse the repository at this point in the history
feat: update the k8s autoscaler api and vap install process
  • Loading branch information
rhuss authored May 27, 2023
2 parents ca3c506 + 0b8f04d commit 8968429
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions advanced/ElasticScale/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion advanced/ElasticScale/hpa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: random-generator
Expand Down

0 comments on commit 8968429

Please sign in to comment.