UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit e9940a21 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch '1346-kiali-hpa' into 'master'

Add in default values for kiali to enable the autoscaler

Closes #1346

See merge request !2708
parents 96aa3ba1 498d316c
No related branches found
No related tags found
1 merge request!2708Add in default values for kiali to enable the autoscaler
Pipeline #1710797 passed
......@@ -35,6 +35,11 @@ cr:
pod_annotations:
{{ include "istioAnnotation" . }}
{{- end }}
hpa:
spec:
maxReplicas: 2
minReplicas: 1
targetCPUUtilizationPercentage: 80
server:
web_port: "443"
auth:
......
......@@ -6,7 +6,7 @@ BigBang developers use [k3d](https://k3d.io/), a lightweight wrapper to run [k3s
It is not recommend to run k3d with Big Bang on your local workstation. Instead use a remote k3d cluster running on an EC2 instance to shift the compute and network bandwidth to the cloud. Big Bang can be quite resource intensive and it requires a huge download bandwidth for the images. If you do insist on running k3d locally you should disable certain packages before deploying. You can do this in the values.yaml file by setting the package deploy to false. One of the packages that is most resource-intensive is the logging package. And you should create a local image registry cache to minimize the amount of image downloading.
There is a script that automates the creation and teardown of a remote k3d development environment. First, read the [script instructions](aws-k3d-script.md), understand what it does, and install required dependencies. Then, run the script [docs/assets/developer/scripts/k3d-dev.sh](../assets/scripts/developer/k3d-dev.sh) from your workstation. The console output at the end of the script will give you the information necessary to access and use the dev environment. Also, there is a video tutorial in Platform One IL2 Confluence. Search for "T3" and click the link to the page. Scroll down the page to the 57th video on 22-February-2022.
There is a script that automates the creation and teardown of a remote k3d development environment. First, read the [script instructions](aws-k3d-script.md), understand what it does, and install required dependencies. Then, run the script [docs/assets/scripts/developer/k3d-dev.sh](../assets/scripts/developer/k3d-dev.sh) from your workstation. The console output at the end of the script will give you the information necessary to access and use the dev environment. Also, there is a video tutorial in Platform One IL2 Confluence. Search for "T3" and click the link to the page. Scroll down the page to the 57th video on 22-February-2022.
## Prerequisites
......
......@@ -92,7 +92,11 @@ monitoring:
## High Availability
HA can be accomplished for Kiali via two methods. You can directly control the replicas required or have Kiali create and use a horizontal pod autoscaler and set a min/max number of replicas for the deployment. Both methods are shown below:
HA can be accomplished for Kiali via two methods. You can directly control the replicas required or have Kiali create and use a horizontal pod autoscaler and set a min/max number of replicas for the deployment.
Big Bang uses the horizontal pod autoscaler by default with `minReplicas: 1` and `maxReplicas: 2`.
Both methods are shown below:
- Specific number of replicas
```yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment