Skip to content

Commit 1e206f2

Browse files
authored
Merge pull request #20555 from spurin/remove_ns_specifics
remove ns specifics for horizontal pod autoscale walkthrough
2 parents afeea98 + c8975f9 commit 1e206f2

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ kubectl run --generator=run-pod/v1 -it --rm load-generator --image=busybox /bin/
119119

120120
Hit enter for command prompt
121121

122-
while true; do wget -q -O- http://php-apache.default.svc.cluster.local; done
122+
while true; do wget -q -O- http://php-apache; done
123123
```
124124

125125
Within a minute or so, we should see the higher CPU load by executing:
@@ -203,7 +203,6 @@ apiVersion: autoscaling/v2beta2
203203
kind: HorizontalPodAutoscaler
204204
metadata:
205205
name: php-apache
206-
namespace: default
207206
spec:
208207
scaleTargetRef:
209208
apiVersion: apps/v1
@@ -296,7 +295,6 @@ apiVersion: autoscaling/v2beta2
296295
kind: HorizontalPodAutoscaler
297296
metadata:
298297
name: php-apache
299-
namespace: default
300298
spec:
301299
scaleTargetRef:
302300
apiVersion: apps/v1

content/en/examples/application/hpa/php-apache.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: autoscaling/v1
22
kind: HorizontalPodAutoscaler
33
metadata:
44
name: php-apache
5-
namespace: default
65
spec:
76
scaleTargetRef:
87
apiVersion: apps/v1

0 commit comments

Comments
 (0)