From 2e7bb74d9907a8740279dd1b521111409c4314df Mon Sep 17 00:00:00 2001 From: James Spurin Date: Sun, 26 Apr 2020 17:13:38 +0100 Subject: [PATCH] KO equivalent for PR20555 --- .../run-application/horizontal-pod-autoscale-walkthrough.md | 4 +--- content/ko/examples/application/hpa/php-apache.yaml | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/content/ko/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md b/content/ko/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md index 6b421f5aed..b847a0d691 100644 --- a/content/ko/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md +++ b/content/ko/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md @@ -113,7 +113,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 ``` 실행 후, 약 1분 정도 후에 CPU 부하가 올라가는 것을 볼 수 있다. @@ -197,7 +197,6 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: php-apache - namespace: default spec: scaleTargetRef: apiVersion: apps/v1 @@ -294,7 +293,6 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: php-apache - namespace: default spec: scaleTargetRef: apiVersion: apps/v1 diff --git a/content/ko/examples/application/hpa/php-apache.yaml b/content/ko/examples/application/hpa/php-apache.yaml index c73ae7d631..f3f1ef5d4f 100644 --- a/content/ko/examples/application/hpa/php-apache.yaml +++ b/content/ko/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