litmus-agent
by Helm
Helm chartv3.30.1App 3.30.0
A Helm chart to install litmus agent
About this chart
litmus-agent
A Helm chart to install litmus agent
Homepage: https://litmuschaos.io
Maintainers
| Name | Url | |
|---|---|---|
| Vr00mm | [email protected] | |
| ispeakc0de | [email protected] | |
| Jonsy13 | [email protected] |
Source Code
Requirements
Kubernetes: >=1.16.0-0
| Repository | Name | Version |
|---|---|---|
| chaos-exporter | 3.30.0 | |
| chaos-operator | 3.30.0 | |
| event-tracker | 3.30.1 | |
| subscriber | 3.30.1 | |
| workflow-controller | 0.2.3 |
Installing the Chart
To install this chart with the release name litmus-portal:
$ helm repo add litmuschaos https://litmuschaos.github.io/litmus-helm/
$ helm install litmus-agent litmuschaos/litmus-agent \
--namespace litmus --create-namespace \
--set "INFRA_NAME=helm-agent" \
--set "INFRA_DESCRIPTION=My first agent deployed with helm !" \
--set "LITMUS_URL=https://chaos-center.domain.com" \ # FOR REMOTE AGENT (INGRESS)
--set "LITMUS_URL=http://litmusportal-frontend-service.litmus.svc.cluster.local:9091" \ # FOR SELF AGENT (SVC)
--set "LITMUS_BACKEND_URL=http://litmusportal-server-service.litmus.svc.cluster.local:9002" \ # FOR SELF AGENT (SVC)
--set "LITMUS_USERNAME=admin" \
--set "LITMUS_PASSWORD=litmus" \
--set "LITMUS_PROJECT_ID=69395cb3-0231-4262-8990-78056c8adb4c" \
--set "LITMUS_ENVIRONMENT_ID=nameofenvironment"
Values
| Key | Type | Default | Description |
|---|---|---|---|
| APP_VERSION | string | "3.30.0" | |
| INFRA_DESCRIPTION | string | "chaos infrastructure deployed with helm" | |
| INFRA_NAME | string | "helm-infrastructure" | |
| INFRA_NODE_SELECTOR | string | "" | |
| INFRA_TYPE | string | "external" | |
| LITMUS_BACKEND_URL | string | "" | |
| LITMUS_ENVIRONMENT_ID | string | "" | ID of the litmus environment where the infrastructure will be added |
| LITMUS_PASSWORD | string | "litmus" | |
| LITMUS_PROJECT_ID | string | "" | |
| LITMUS_URL | string | "https://my-domain.com" | |
| LITMUS_USERNAME | string | "admin" | |
| NS_EXISTS | bool | true | |
| PLATFORM_NAME | string | "Others" | |
| SA_EXISTS | bool | true | |
| SKIP_SSL | string | "false" | |
| chaos-exporter.enabled | bool | true | |
| chaos-operator.enabled | bool | true | |
| crds.create | bool | true | |
| enablePreInstallJob | bool | true | Enable the pre-install hook job that registers this agent with ChaosCenter. Set to false for standallone litmus-agent installation (no ChaosCenter) however other ChaosCenter resources (e.g., hook Secrets/ConfigMaps) may still be rendered; manage them via their own flags (e.g., useExistingHookSecret). |
| event-tracker.enabled | bool | true | |
| global.INFRA_MODE | string | "cluster" | |
| global.customLabels | object | {} | |
| global.infraConfigName | string | "subscriber-config" | |
| global.infraSecretName | string | "subscriber-secret" | |
| global.podAnnotations | object | {} | |
| image.pullPolicy | string | "Always" | |
| image.repository | string | "litmuschaos.docker.scarf.sh/litmuschaos/litmus-helm-agent" | |
| image.tag | string | "latest" | |
| podAnnotations | object | {} | |
| resources.limits.cpu | string | "100m" | |
| resources.limits.memory | string | "128Mi" | |
| resources.requests.cpu | string | "100m" | |
| resources.requests.memory | string | "128Mi" | |
| subscriber.enabled | bool | true | |
| useExistingHookSecret | bool | false | Use an existing hook Secret instead of creating one with the chart, ref. to templates/secret.yaml |
| useExistingInfraConfigMap | bool | false | Use an existing infra ConfigMap instead of creating one with the chart, ref. to templates/infra-config-map.yaml |
| useExistingInfraSecret | bool | false | Use an existing infra Secret instead of creating one with the chart, ref. to templates/infra-secret.yaml |
| useExistingWorkflowControllerConfigMap | bool | false | Use an existing infra ConfigMap instead of creating one with the chart, ref. to templates/infra-config-map-workflow.yaml |
| workflow-controller.crds.create | bool | true | |
| workflow-controller.enabled | bool | true |
Autogenerated from chart metadata using helm-docs v1.11.0
Deploy litmus-agent with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has litmus-agent on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlitmus-agent is pinned at v3.30.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply