diff --git a/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md b/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md index 5b463010846..71357f34164 100644 --- a/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md +++ b/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md @@ -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 diff --git a/content/en/examples/application/hpa/php-apache.yaml b/content/en/examples/application/hpa/php-apache.yaml index c73ae7d631b..f3f1ef5d4f9 100644 --- a/content/en/examples/application/hpa/php-apache.yaml +++ b/content/en/examples/application/hpa/php-apache.yaml @@ -2,7 +2,6 @@ apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: php-apache - namespace: default spec: scaleTargetRef: apiVersion: apps/v1