move script
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user