mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-09-03 04:11:38 +00:00
Make script executable and qualify run as pod
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
This commit is contained in:
committed by
Manohar Castelino
parent
c234cca3c3
commit
72659b3ba3
Regular → Executable
+3
-1
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
kubectl run php-apache-test --image=k8s.gcr.io/hpa-example --requests=cpu=200m --expose --port=80
|
||||
kubectl autoscale deployment php-apache-test --cpu-percent=50 --min=1 --max=10
|
||||
kubectl get hpa
|
||||
|
||||
#kubectl run -i --tty load-generator --image=busybox /bin/sh
|
||||
#kubectl run --generator=run-pod/v1 -i --tty load-generator --image=busybox /bin/sh
|
||||
# while true; do wget -q -O- http://php-apache-test.default.svc.cluster.local; done
|
||||
|
||||
Reference in New Issue
Block a user