KO equivalent for PR20555

pull/20563/head
James Spurin 2020-04-26 17:13:38 +01:00
parent 3228663626
commit 2e7bb74d99
2 changed files with 1 additions and 4 deletions

View File

@ -113,7 +113,7 @@ kubectl run --generator=run-pod/v1 -it --rm load-generator --image=busybox /bin/
Hit enter for command prompt
while true; do wget -q -O- http://php-apache.default.svc.cluster.local; done
while true; do wget -q -O- http://php-apache; done
```
실행 후, 약 1분 정도 후에 CPU 부하가 올라가는 것을 볼 수 있다.
@ -197,7 +197,6 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
@ -294,7 +293,6 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1

View File

@ -2,7 +2,6 @@ apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1