File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
docs/tasks/run-application Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ kubectl run --generator=run-pod/v1 -it --rm load-generator --image=busybox /bin/
113
113
114
114
Hit enter for command prompt
115
115
116
- while true ; do wget -q -O- http://php-apache.default.svc.cluster.local ; done
116
+ while true ; do wget -q -O- http://php-apache; done
117
117
```
118
118
119
119
실행 후, 약 1분 정도 후에 CPU 부하가 올라가는 것을 볼 수 있다.
@@ -197,7 +197,6 @@ apiVersion: autoscaling/v2beta2
197
197
kind : HorizontalPodAutoscaler
198
198
metadata :
199
199
name : php-apache
200
- namespace : default
201
200
spec :
202
201
scaleTargetRef :
203
202
apiVersion : apps/v1
@@ -294,7 +293,6 @@ apiVersion: autoscaling/v2beta2
294
293
kind: HorizontalPodAutoscaler
295
294
metadata:
296
295
name: php-apache
297
- namespace: default
298
296
spec:
299
297
scaleTargetRef:
300
298
apiVersion: apps/v1
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apiVersion: autoscaling/v1
2
2
kind : HorizontalPodAutoscaler
3
3
metadata :
4
4
name : php-apache
5
- namespace : default
6
5
spec :
7
6
scaleTargetRef :
8
7
apiVersion : apps/v1
You can’t perform that action at this time.
0 commit comments