From 8667c51acd0940f5deaffd48f19110e788941c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Mu=C3=B1oz=20Garrig=C3=B3s?= <osmuogar@gmail.com> Date: Tue, 5 Feb 2019 11:52:04 +0100 Subject: [PATCH] Removing namespace when creating srv/sample-app --- experimental/custom-metrics-api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/custom-metrics-api/README.md b/experimental/custom-metrics-api/README.md index c5c7102c..e93d809f 100644 --- a/experimental/custom-metrics-api/README.md +++ b/experimental/custom-metrics-api/README.md @@ -14,7 +14,7 @@ When you're done, you can teardown using the `./teardown.sh` script. Additionally, this directory contains a sample app that uses the [Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) to scale the Deployment's replicas of Pods up and down as needed. Deploy this app by running `kubectl apply -f sample-app.yaml`. -Make the app accessible on your system, for example by using `kubectl -n monitoring port-forward svc/sample-app 8080`. Next you need to put some load on its http endpoints. +Make the app accessible on your system, for example by using `kubectl port-forward svc/sample-app 8080`. Next you need to put some load on its http endpoints. A tool like [hey](https://github.com/rakyll/hey) is helpful for doing so: `hey -c 20 -n 100000000 http://localhost:8080/metrics` -- GitLab