move script

This commit is contained in:
Steve Waterworth
2019-05-22 16:06:28 +01:00
parent 2800cfe233
commit 0a555bdab3
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ To run the load test in Kubernetes, apply the `K8s/load-deployment.yaml` configu
$ kubectl -n robot-shop apply -f K8s/load-deployment.yaml
```
If you want to enable auto-scaling on relevant components (non-databases), just run the script in the autoscaling directory. However you will first need to make sure a [metrics-server](https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/) is running in your cluster, enabling the Horizontal Pod Autoscaler to know about the CPU and memory usage of the pods. From Kubernetes version 1.8 a `metrics-serer` deployment should be configured by default, run the command below to check.
If you want to enable auto-scaling on relevant components (non-databases), just run the script in the autoscaling directory. However you will first need to make sure a [metrics-server](https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/) is running in your cluster, this enables the Horizontal Pod Autoscaler to know about the CPU and memory usage of the pods. From Kubernetes version 1.8, a `metrics-serer` deployment should be configured by default, run the command below to check.
```shell
$ kubectl -n kube-system get deployment
@@ -49,6 +49,6 @@ $ kubectl -n kube-system get deployment
The autoscaling is installed with:
```shell
$ K8s/autoscaling/autoscale.sh
$ K8s/autoscale.sh
```