litmus

by Helm

Helm chartv3.30.0App 3.30.0

A Helm chart to install ChaosCenter

About this chart

litmus

A Helm chart to install ChaosCenter

Homepage: https://litmuschaos.io

Maintainers

NameEmailUrl
imrajdas[email protected]
ispeakc0de[email protected]
jasstkn[email protected]

Source Code

Requirements

Kubernetes: >=1.16.0-0

RepositoryNameVersion
https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnamimongodb12.1.11

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-portal litmuschaos/litmus

Upgrading Chart

From 2.15.8 -> Above

We moved ingress path config from ingress.host.paths.backend to ingress.host.backend.path and from ingress.host.paths.frontend to ingress.host.backend.frontend. You need to move your values to the correspondent options and upgrade as usual.

From 2.13.0 -> 2.13.1 or 2.13.0 -> Above

We separated service configuration from portal.server.service to portal.server.graphqlServer.service and portal.server.authServer.service. You need to move your values to the correspondent options and upgrade as usual.

Values

KeyTypeDefaultDescription
adminConfig.ADMIN_PASSWORDstring"litmus"
adminConfig.ADMIN_USERNAMEstring"admin"
adminConfig.DBPASSWORDstring""leave empty if uses Mongo DB deployed by this chart
adminConfig.DBUSERstring""
adminConfig.DB_PORTstring""
adminConfig.DB_SERVERstring""
adminConfig.SKIP_SSL_VERIFYstring"false"
adminConfig.VERSIONstring"3.30.0"
allowedOriginsstring".*"
customLabelsobject{}Additional labels
customPodAnnotationsobject{}Additional annotations
existingSecretstring""Use existing secret (e.g., External Secrets)
image.imagePullSecretslist[]
image.imageRegistryNamestring"litmuschaos.docker.scarf.sh/litmuschaos"
ingress.annotations."ingress.kubernetes.io/proxy-body-size"string"0"
ingress.annotations."ingress.kubernetes.io/ssl-redirect"string"true"
ingress.annotations."nginx.ingress.kubernetes.io/proxy-body-size"string"0"
ingress.annotations."nginx.ingress.kubernetes.io/ssl-redirect"string"true"
ingress.enabledboolfalse
ingress.host.frontend.pathstring"/"You may need adapt the path depending your ingress-controller
ingress.host.frontend.pathTypestring"ImplementationSpecific"Allow to set pathType for the frontend path
ingress.host.namestring""This is ingress hostname (ex: my-domain.com)
ingress.ingressClassNamestring""
ingress.namestring"litmus-ingress"
ingress.tlslist[]
internalTLS.authServer.crtstring""
internalTLS.authServer.keystring""
internalTLS.authServer.secretNamestring""
internalTLS.certMountPathstring"/etc/tls"
internalTLS.certSourcestring"auto"
internalTLS.enabledboolfalse
internalTLS.graphqlServer.crtstring""
internalTLS.graphqlServer.keystring""
internalTLS.graphqlServer.secretNamestring""
internalTLS.strong_ssl_ciphersboolfalse
internalTLS.trustCastring""
internalTLS.web.crtstring""
internalTLS.web.keystring""
internalTLS.web.secretNamestring""
mongodbobject{"architecture":"replicaset","auth":{"enabled":true,"existingSecret":"","rootPassword":"1234","rootUser":"root"},"enabled":true,"image":{"registry":"docker.io","repository":"bitnamilegacy/mongodb","tag":"8.0.13-debian-12-r0"},"livenessProbe":{"timeoutSeconds":20},"metrics":{"enabled":false,"prometheusRule":{"enabled":false}},"persistence":{"enabled":true},"readinessProbe":{"timeoutSeconds":20},"replicaCount":3,"volumePermissions":{"enabled":true,"image":{"registry":"docker.io","repository":"bitnamilegacy/os-shell","tag":"12-debian-12-r51"}}}Configure the Bitnami MongoDB subchart see values at https://github.com/bitnami/charts/blob/master/bitnami/mongodb/values.yaml
mongodb.auth.existingSecretstring""existingSecret Existing secret with MongoDB(®) credentials (keys: mongodb-passwords, mongodb-root-password, mongodb-metrics-password, mongodb-replica-set-key)
nameOverridestring""
openshift.route.annotationsobject{}
openshift.route.customLabelsobject{}
openshift.route.enabledboolfalse
openshift.route.hoststring""
openshift.route.namestring"litmus-portal"
portal.frontend.affinityobject{}
portal.frontend.automountServiceAccountTokenboolfalse
portal.frontend.autoscaling.enabledboolfalse
portal.frontend.autoscaling.maxReplicasint3
portal.frontend.autoscaling.minReplicasint2
portal.frontend.autoscaling.targetCPUUtilizationPercentageint50
portal.frontend.autoscaling.targetMemoryUtilizationPercentageint50
portal.frontend.containerPortint8185
portal.frontend.customLabelsobject{}
portal.frontend.extraEnvVarslist[]Additional environment variables for frontend container
portal.frontend.image.pullPolicystring"Always"
portal.frontend.image.repositorystring"litmusportal-frontend"
portal.frontend.image.tagstring"3.30.0"
portal.frontend.livenessProbe.failureThresholdint5
portal.frontend.livenessProbe.initialDelaySecondsint30
portal.frontend.livenessProbe.periodSecondsint10
portal.frontend.livenessProbe.successThresholdint1
portal.frontend.livenessProbe.timeoutSecondsint5
portal.frontend.nodeSelectorobject{}
portal.frontend.podAnnotationsobject{}
portal.frontend.readinessProbe.initialDelaySecondsint5
portal.frontend.readinessProbe.periodSecondsint10
portal.frontend.readinessProbe.successThresholdint1
portal.frontend.readinessProbe.timeoutSecondsint1
portal.frontend.replicasint1
portal.frontend.resources.limits.cpustring"550m"
portal.frontend.resources.limits.ephemeral-storagestring"1Gi"
portal.frontend.resources.limits.memorystring"512Mi"
portal.frontend.resources.requests.cpustring"125m"
portal.frontend.resources.requests.ephemeral-storagestring"500Mi"
portal.frontend.resources.requests.memorystring"150Mi"
portal.frontend.service.annotationsobject{}
portal.frontend.service.portint9091
portal.frontend.service.targetPortint8185
portal.frontend.service.typestring"ClusterIP"
portal.frontend.tolerationslist[]
portal.frontend.updateStrategyobject{}
portal.frontend.virtualService.enabledboolfalse
portal.frontend.virtualService.gatewayslist[]
portal.frontend.virtualService.hostslist[]
portal.frontend.virtualService.pathPrefixEnabledboolfalse
portal.server.affinityobject{}
portal.server.authServer.automountServiceAccountTokenboolfalse
portal.server.authServer.autoscaling.enabledboolfalse
portal.server.authServer.autoscaling.maxReplicasint3
portal.server.authServer.autoscaling.minReplicasint2
portal.server.authServer.autoscaling.targetCPUUtilizationPercentageint50
portal.server.authServer.autoscaling.targetMemoryUtilizationPercentageint50
portal.server.authServer.envobject{}
portal.server.authServer.image.pullPolicystring"Always"
portal.server.authServer.image.repositorystring"litmusportal-auth-server"
portal.server.authServer.image.tagstring"3.30.0"
portal.server.authServer.podAnnotationsobject{}
portal.server.authServer.ports[0].containerPortint3000
portal.server.authServer.ports[0].namestring"auth-server"
portal.server.authServer.ports[1].containerPortint3030
portal.server.authServer.ports[1].namestring"auth-rpc-server"
portal.server.authServer.replicasint1
portal.server.authServer.resources.limits.cpustring"550m"
portal.server.authServer.resources.limits.ephemeral-storagestring"1Gi"
portal.server.authServer.resources.limits.memorystring"712Mi"
portal.server.authServer.resources.requests.cpustring"225m"
portal.server.authServer.resources.requests.ephemeral-storagestring"500Mi"
portal.server.authServer.resources.requests.memorystring"250Mi"
portal.server.authServer.securityContext.allowPrivilegeEscalationboolfalse
portal.server.authServer.securityContext.readOnlyRootFilesystembooltrue
portal.server.authServer.securityContext.runAsNonRootbooltrue
portal.server.authServer.securityContext.runAsUserint2000
portal.server.authServer.service.annotationsobject{}
portal.server.authServer.service.authRestServer.portint9003
portal.server.authServer.service.authRestServer.targetPortint3000
portal.server.authServer.service.authRpcServer.portint3030
portal.server.authServer.service.authRpcServer.targetPortint3030
portal.server.authServer.service.typestring"ClusterIP"
portal.server.authServer.volumeMountslist[]
portal.server.authServer.volumeslist[]
portal.server.customLabelsobject{}
portal.server.extraEnvVarslist[]Additional environment variables for graphql-server container
portal.server.graphqlServer.automountServiceAccountTokenboolfalse
portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINTstring""
portal.server.graphqlServer.genericEnv.CONTAINER_RUNTIME_EXECUTORstring"k8sapi"
portal.server.graphqlServer.genericEnv.DEFAULT_HUB_BRANCH_NAMEstring"v3.30.x"
portal.server.graphqlServer.genericEnv.ENABLE_GQL_INTROSPECTIONstring"false"
portal.server.graphqlServer.genericEnv.INFRA_COMPATIBLE_VERSIONSstring"[\"3.30.0\"]"
portal.server.graphqlServer.genericEnv.INFRA_DEPLOYMENTSstring"[\"app=chaos-exporter\", \"name=chaos-operator\", \"app=event-tracker\", \"app=workflow-controller\"]"
portal.server.graphqlServer.genericEnv.METRICS_PORTstring"8889"
portal.server.graphqlServer.genericEnv.REMOTE_HUB_MAX_SIZEstring"5000000"
portal.server.graphqlServer.genericEnv.TLS_CERT_64string""
portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSIONstring"3.30.0"
portal.server.graphqlServer.image.pullPolicystring"Always"
portal.server.graphqlServer.image.repositorystring"litmusportal-server"
portal.server.graphqlServer.image.tagstring"3.30.0"
portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_CONTROLLER_IMAGEstring"workflow-controller:v3.3.1"
portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_EXECUTOR_IMAGEstring"argoexec:v3.3.1"
portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGEstring"litmusportal-event-tracker:3.30.0"
portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGEstring"chaos-exporter:3.30.0"
portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGEstring"chaos-operator:3.30.0"
portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGEstring"chaos-runner:3.30.0"
portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGEstring"litmusportal-subscriber:3.30.0"
portal.server.graphqlServer.livenessProbe.failureThresholdint5
portal.server.graphqlServer.livenessProbe.initialDelaySecondsint30
portal.server.graphqlServer.livenessProbe.periodSecondsint10
portal.server.graphqlServer.livenessProbe.successThresholdint1
portal.server.graphqlServer.livenessProbe.timeoutSecondsint5
portal.server.graphqlServer.podAnnotationsobject{}
portal.server.graphqlServer.ports[0].containerPortint8080
portal.server.graphqlServer.ports[0].namestring"gql-server"
portal.server.graphqlServer.ports[1].containerPortint8000
portal.server.graphqlServer.ports[1].namestring"gql-rpc-server"
portal.server.graphqlServer.ports[2].containerPortint8889
portal.server.graphqlServer.ports[2].namestring"metrics"
portal.server.graphqlServer.readinessProbe.initialDelaySecondsint5
portal.server.graphqlServer.readinessProbe.periodSecondsint10
portal.server.graphqlServer.readinessProbe.successThresholdint1
portal.server.graphqlServer.readinessProbe.timeoutSecondsint1
portal.server.graphqlServer.resources.limits.cpustring"550m"
portal.server.graphqlServer.resourc

Deploy litmus with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has litmus 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 is pinned at v3.30.0 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