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

NameEmailUrl
Vr00mm[email protected]
ispeakc0de[email protected]
Jonsy13[email protected]

Source Code

Requirements

Kubernetes: >=1.16.0-0

RepositoryNameVersion
chaos-exporter3.30.0
chaos-operator3.30.0
event-tracker3.30.1
subscriber3.30.1
workflow-controller0.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

KeyTypeDefaultDescription
APP_VERSIONstring"3.30.0"
INFRA_DESCRIPTIONstring"chaos infrastructure deployed with helm"
INFRA_NAMEstring"helm-infrastructure"
INFRA_NODE_SELECTORstring""
INFRA_TYPEstring"external"
LITMUS_BACKEND_URLstring""
LITMUS_ENVIRONMENT_IDstring""ID of the litmus environment where the infrastructure will be added
LITMUS_PASSWORDstring"litmus"
LITMUS_PROJECT_IDstring""
LITMUS_URLstring"https://my-domain.com"
LITMUS_USERNAMEstring"admin"
NS_EXISTSbooltrue
PLATFORM_NAMEstring"Others"
SA_EXISTSbooltrue
SKIP_SSLstring"false"
chaos-exporter.enabledbooltrue
chaos-operator.enabledbooltrue
crds.createbooltrue
enablePreInstallJobbooltrueEnable 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.enabledbooltrue
global.INFRA_MODEstring"cluster"
global.customLabelsobject{}
global.infraConfigNamestring"subscriber-config"
global.infraSecretNamestring"subscriber-secret"
global.podAnnotationsobject{}
image.pullPolicystring"Always"
image.repositorystring"litmuschaos.docker.scarf.sh/litmuschaos/litmus-helm-agent"
image.tagstring"latest"
podAnnotationsobject{}
resources.limits.cpustring"100m"
resources.limits.memorystring"128Mi"
resources.requests.cpustring"100m"
resources.requests.memorystring"128Mi"
subscriber.enabledbooltrue
useExistingHookSecretboolfalseUse an existing hook Secret instead of creating one with the chart, ref. to templates/secret.yaml
useExistingInfraConfigMapboolfalseUse an existing infra ConfigMap instead of creating one with the chart, ref. to templates/infra-config-map.yaml
useExistingInfraSecretboolfalseUse an existing infra Secret instead of creating one with the chart, ref. to templates/infra-secret.yaml
useExistingWorkflowControllerConfigMapboolfalseUse an existing infra ConfigMap instead of creating one with the chart, ref. to templates/infra-config-map-workflow.yaml
workflow-controller.crds.createbooltrue
workflow-controller.enabledbooltrue

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlitmus-agent is pinned at v3.30.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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