litmus
by Helm
A Helm chart to install ChaosCenter
About this chart
litmus
A Helm chart to install ChaosCenter
Homepage: https://litmuschaos.io
Maintainers
| Name | Url | |
|---|---|---|
| imrajdas | [email protected] | |
| ispeakc0de | [email protected] | |
| jasstkn | [email protected] |
Source Code
Requirements
Kubernetes: >=1.16.0-0
| Repository | Name | Version |
|---|---|---|
| https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami | mongodb | 12.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
| Key | Type | Default | Description |
|---|---|---|---|
| adminConfig.ADMIN_PASSWORD | string | "litmus" | |
| adminConfig.ADMIN_USERNAME | string | "admin" | |
| adminConfig.DBPASSWORD | string | "" | leave empty if uses Mongo DB deployed by this chart |
| adminConfig.DBUSER | string | "" | |
| adminConfig.DB_PORT | string | "" | |
| adminConfig.DB_SERVER | string | "" | |
| adminConfig.SKIP_SSL_VERIFY | string | "false" | |
| adminConfig.VERSION | string | "3.30.0" | |
| allowedOrigins | string | ".*" | |
| customLabels | object | {} | Additional labels |
| customPodAnnotations | object | {} | Additional annotations |
| existingSecret | string | "" | Use existing secret (e.g., External Secrets) |
| image.imagePullSecrets | list | [] | |
| image.imageRegistryName | string | "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.enabled | bool | false | |
| ingress.host.frontend.path | string | "/" | You may need adapt the path depending your ingress-controller |
| ingress.host.frontend.pathType | string | "ImplementationSpecific" | Allow to set pathType for the frontend path |
| ingress.host.name | string | "" | This is ingress hostname (ex: my-domain.com) |
| ingress.ingressClassName | string | "" | |
| ingress.name | string | "litmus-ingress" | |
| ingress.tls | list | [] | |
| internalTLS.authServer.crt | string | "" | |
| internalTLS.authServer.key | string | "" | |
| internalTLS.authServer.secretName | string | "" | |
| internalTLS.certMountPath | string | "/etc/tls" | |
| internalTLS.certSource | string | "auto" | |
| internalTLS.enabled | bool | false | |
| internalTLS.graphqlServer.crt | string | "" | |
| internalTLS.graphqlServer.key | string | "" | |
| internalTLS.graphqlServer.secretName | string | "" | |
| internalTLS.strong_ssl_ciphers | bool | false | |
| internalTLS.trustCa | string | "" | |
| internalTLS.web.crt | string | "" | |
| internalTLS.web.key | string | "" | |
| internalTLS.web.secretName | string | "" | |
| mongodb | object | {"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.existingSecret | string | "" | existingSecret Existing secret with MongoDB(®) credentials (keys: mongodb-passwords, mongodb-root-password, mongodb-metrics-password, mongodb-replica-set-key) |
| nameOverride | string | "" | |
| openshift.route.annotations | object | {} | |
| openshift.route.customLabels | object | {} | |
| openshift.route.enabled | bool | false | |
| openshift.route.host | string | "" | |
| openshift.route.name | string | "litmus-portal" | |
| portal.frontend.affinity | object | {} | |
| portal.frontend.automountServiceAccountToken | bool | false | |
| portal.frontend.autoscaling.enabled | bool | false | |
| portal.frontend.autoscaling.maxReplicas | int | 3 | |
| portal.frontend.autoscaling.minReplicas | int | 2 | |
| portal.frontend.autoscaling.targetCPUUtilizationPercentage | int | 50 | |
| portal.frontend.autoscaling.targetMemoryUtilizationPercentage | int | 50 | |
| portal.frontend.containerPort | int | 8185 | |
| portal.frontend.customLabels | object | {} | |
| portal.frontend.extraEnvVars | list | [] | Additional environment variables for frontend container |
| portal.frontend.image.pullPolicy | string | "Always" | |
| portal.frontend.image.repository | string | "litmusportal-frontend" | |
| portal.frontend.image.tag | string | "3.30.0" | |
| portal.frontend.livenessProbe.failureThreshold | int | 5 | |
| portal.frontend.livenessProbe.initialDelaySeconds | int | 30 | |
| portal.frontend.livenessProbe.periodSeconds | int | 10 | |
| portal.frontend.livenessProbe.successThreshold | int | 1 | |
| portal.frontend.livenessProbe.timeoutSeconds | int | 5 | |
| portal.frontend.nodeSelector | object | {} | |
| portal.frontend.podAnnotations | object | {} | |
| portal.frontend.readinessProbe.initialDelaySeconds | int | 5 | |
| portal.frontend.readinessProbe.periodSeconds | int | 10 | |
| portal.frontend.readinessProbe.successThreshold | int | 1 | |
| portal.frontend.readinessProbe.timeoutSeconds | int | 1 | |
| portal.frontend.replicas | int | 1 | |
| portal.frontend.resources.limits.cpu | string | "550m" | |
| portal.frontend.resources.limits.ephemeral-storage | string | "1Gi" | |
| portal.frontend.resources.limits.memory | string | "512Mi" | |
| portal.frontend.resources.requests.cpu | string | "125m" | |
| portal.frontend.resources.requests.ephemeral-storage | string | "500Mi" | |
| portal.frontend.resources.requests.memory | string | "150Mi" | |
| portal.frontend.service.annotations | object | {} | |
| portal.frontend.service.port | int | 9091 | |
| portal.frontend.service.targetPort | int | 8185 | |
| portal.frontend.service.type | string | "ClusterIP" | |
| portal.frontend.tolerations | list | [] | |
| portal.frontend.updateStrategy | object | {} | |
| portal.frontend.virtualService.enabled | bool | false | |
| portal.frontend.virtualService.gateways | list | [] | |
| portal.frontend.virtualService.hosts | list | [] | |
| portal.frontend.virtualService.pathPrefixEnabled | bool | false | |
| portal.server.affinity | object | {} | |
| portal.server.authServer.automountServiceAccountToken | bool | false | |
| portal.server.authServer.autoscaling.enabled | bool | false | |
| portal.server.authServer.autoscaling.maxReplicas | int | 3 | |
| portal.server.authServer.autoscaling.minReplicas | int | 2 | |
| portal.server.authServer.autoscaling.targetCPUUtilizationPercentage | int | 50 | |
| portal.server.authServer.autoscaling.targetMemoryUtilizationPercentage | int | 50 | |
| portal.server.authServer.env | object | {} | |
| portal.server.authServer.image.pullPolicy | string | "Always" | |
| portal.server.authServer.image.repository | string | "litmusportal-auth-server" | |
| portal.server.authServer.image.tag | string | "3.30.0" | |
| portal.server.authServer.podAnnotations | object | {} | |
| portal.server.authServer.ports[0].containerPort | int | 3000 | |
| portal.server.authServer.ports[0].name | string | "auth-server" | |
| portal.server.authServer.ports[1].containerPort | int | 3030 | |
| portal.server.authServer.ports[1].name | string | "auth-rpc-server" | |
| portal.server.authServer.replicas | int | 1 | |
| portal.server.authServer.resources.limits.cpu | string | "550m" | |
| portal.server.authServer.resources.limits.ephemeral-storage | string | "1Gi" | |
| portal.server.authServer.resources.limits.memory | string | "712Mi" | |
| portal.server.authServer.resources.requests.cpu | string | "225m" | |
| portal.server.authServer.resources.requests.ephemeral-storage | string | "500Mi" | |
| portal.server.authServer.resources.requests.memory | string | "250Mi" | |
| portal.server.authServer.securityContext.allowPrivilegeEscalation | bool | false | |
| portal.server.authServer.securityContext.readOnlyRootFilesystem | bool | true | |
| portal.server.authServer.securityContext.runAsNonRoot | bool | true | |
| portal.server.authServer.securityContext.runAsUser | int | 2000 | |
| portal.server.authServer.service.annotations | object | {} | |
| portal.server.authServer.service.authRestServer.port | int | 9003 | |
| portal.server.authServer.service.authRestServer.targetPort | int | 3000 | |
| portal.server.authServer.service.authRpcServer.port | int | 3030 | |
| portal.server.authServer.service.authRpcServer.targetPort | int | 3030 | |
| portal.server.authServer.service.type | string | "ClusterIP" | |
| portal.server.authServer.volumeMounts | list | [] | |
| portal.server.authServer.volumes | list | [] | |
| portal.server.customLabels | object | {} | |
| portal.server.extraEnvVars | list | [] | Additional environment variables for graphql-server container |
| portal.server.graphqlServer.automountServiceAccountToken | bool | false | |
| portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINT | string | "" | |
| portal.server.graphqlServer.genericEnv.CONTAINER_RUNTIME_EXECUTOR | string | "k8sapi" | |
| portal.server.graphqlServer.genericEnv.DEFAULT_HUB_BRANCH_NAME | string | "v3.30.x" | |
| portal.server.graphqlServer.genericEnv.ENABLE_GQL_INTROSPECTION | string | "false" | |
| portal.server.graphqlServer.genericEnv.INFRA_COMPATIBLE_VERSIONS | string | "[\"3.30.0\"]" | |
| portal.server.graphqlServer.genericEnv.INFRA_DEPLOYMENTS | string | "[\"app=chaos-exporter\", \"name=chaos-operator\", \"app=event-tracker\", \"app=workflow-controller\"]" | |
| portal.server.graphqlServer.genericEnv.METRICS_PORT | string | "8889" | |
| portal.server.graphqlServer.genericEnv.REMOTE_HUB_MAX_SIZE | string | "5000000" | |
| portal.server.graphqlServer.genericEnv.TLS_CERT_64 | string | "" | |
| portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSION | string | "3.30.0" | |
| portal.server.graphqlServer.image.pullPolicy | string | "Always" | |
| portal.server.graphqlServer.image.repository | string | "litmusportal-server" | |
| portal.server.graphqlServer.image.tag | string | "3.30.0" | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_CONTROLLER_IMAGE | string | "workflow-controller:v3.3.1" | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_EXECUTOR_IMAGE | string | "argoexec:v3.3.1" | |
| portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGE | string | "litmusportal-event-tracker:3.30.0" | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | "chaos-exporter:3.30.0" | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | "chaos-operator:3.30.0" | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | "chaos-runner:3.30.0" | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | "litmusportal-subscriber:3.30.0" | |
| portal.server.graphqlServer.livenessProbe.failureThreshold | int | 5 | |
| portal.server.graphqlServer.livenessProbe.initialDelaySeconds | int | 30 | |
| portal.server.graphqlServer.livenessProbe.periodSeconds | int | 10 | |
| portal.server.graphqlServer.livenessProbe.successThreshold | int | 1 | |
| portal.server.graphqlServer.livenessProbe.timeoutSeconds | int | 5 | |
| portal.server.graphqlServer.podAnnotations | object | {} | |
| portal.server.graphqlServer.ports[0].containerPort | int | 8080 | |
| portal.server.graphqlServer.ports[0].name | string | "gql-server" | |
| portal.server.graphqlServer.ports[1].containerPort | int | 8000 | |
| portal.server.graphqlServer.ports[1].name | string | "gql-rpc-server" | |
| portal.server.graphqlServer.ports[2].containerPort | int | 8889 | |
| portal.server.graphqlServer.ports[2].name | string | "metrics" | |
| portal.server.graphqlServer.readinessProbe.initialDelaySeconds | int | 5 | |
| portal.server.graphqlServer.readinessProbe.periodSeconds | int | 10 | |
| portal.server.graphqlServer.readinessProbe.successThreshold | int | 1 | |
| portal.server.graphqlServer.readinessProbe.timeoutSeconds | int | 1 | |
| portal.server.graphqlServer.resources.limits.cpu | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlitmus is pinned at v3.30.0 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