remove ns specifics for example
This commit is contained in:
@@ -119,7 +119,7 @@ kubectl run --generator=run-pod/v1 -it --rm load-generator --image=busybox /bin/
|
|||||||
|
|
||||||
Hit enter for command prompt
|
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:
|
Within a minute or so, we should see the higher CPU load by executing:
|
||||||
@@ -203,7 +203,6 @@ apiVersion: autoscaling/v2beta2
|
|||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: php-apache
|
name: php-apache
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@@ -296,7 +295,6 @@ apiVersion: autoscaling/v2beta2
|
|||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: php-apache
|
name: php-apache
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user