Merge pull request #20555 from spurin/remove_ns_specifics

remove ns specifics for horizontal pod autoscale walkthrough
pull/19999/head^2
Kubernetes Prow Robot 2020-04-25 18:03:29 -07:00 committed by GitHub
commit 1e206f2617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -119,7 +119,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
```
Within a minute or so, we should see the higher CPU load by executing:
@ -203,7 +203,6 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
@ -296,7 +295,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