Skip to content

Commit 2218822

Browse files
authored
Create HPA_new
1 parent 3acf305 commit 2218822

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Kubernetese/hpa/HPA_new

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Install metrics-server:
2+
3+
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
4+
5+
Run the hpa.yml file in the cluster
6+
7+
Generate load:
8+
9+
kubectl run -i --tty load-generator --rm --image=busybox --restart=Never -- /bin/sh -c "while sleep 0.01; do wget -q -O- http://php-apache; done"

0 commit comments

Comments
 (0)