Sign inSign up

ubuntu/litmuschaos-server

Verified Publisher

By Canonical

•Updated 3 months ago

A rock for Litmus server, a component of the upstream project Litmus, used for chaos testing.

Image
Developer tools
0

10K+

ubuntu/litmuschaos-server repository overview

ubuntu/litmuschaos-server is a rock for litmuschaos-server maintained by Canonical⁠.

Litmuschaos is a chaos testing platform for kubernetes applications. It allows you to define, run and monitor 'chaos experiments' that simulate infrastructure failures to verify the stability of your applications. Read more on the official documentation⁠.

This rock deploys the backend component, also known as the 'graphql server'.

[Learn more about litmuschaos-server⁠]

⁠Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels⁠.

TagsSupported untilVersionBaseArchitectures
3.29-26.04_edge09/20263.2926.04amd64
View deprecated tags
TagsSupport ended onUpgrade Path
3.21-24.04_edge01/2026 -
3.23-24.04_edge02/2026 -
3.20-24.04_edge12/2025 -
3.19-24.04_edge10/2025 -
3.26-24.04_edge05/2026 -

⁠Get started

This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.

[Learn more about Pebble⁠]

⁠Inspect

To view the Pebble services⁠ and checks⁠ defined in this rock:

docker run --rm ubuntu/litmuschaos-server:3.21-24.04_edge plan
⁠Run

To run this rock, use any of the usual container runtimes, for example, docker:

docker run --name litmuschaos-server-container \
    -p 3000:3000 \
    ubuntu/litmuschaos-server:3.21-24.04_edge \
    -d

Before starting, ensure a MongoDB instance is running and set DB_SERVER, DB_USER, and DB_PASSWORD to point to it (e.g. docker run -d -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=password -p 27017:27017 mongo:7).

Access the LitmusChaos server at http://localhost:3000.

Note that at this point the workload still won't be operational, as it requires the litmuschaos-auth and litmuschaos-frontend components to function.

⁠Get logs

To view the logs of the running container, run:

docker exec litmuschaos-server-container pebble logs

Or, for a specific service:

docker exec litmuschaos-server-container pebble logs <service>
⁠Monitor health checks

Rocks may have predefined health checks that you can list by running:

docker exec litmuschaos-server-container pebble checks

The overall health of your container can be inspected via:

docker exec litmuschaos-server-container pebble health

⁠Configuration

⁠Environment variables
OptionDescriptionDefault
VERSIONID of the running version.None
INFRA_DEPLOYMENTSDeployment names for the infra components, e.g., ["app=chaos-exporter"].None
SUBSCRIBER_IMAGEImage the chaoscenter uses to deploy the subscriber service, e.g., litmuschaos/litmusportal-subscriber:ci.None
EVENT_TRACKER_IMAGEImage the chaoscenter uses to deploy the event-tracker service, e.g., litmuschaos/litmusportal-event-tracker:ci.None
ARGO_WORKFLOW_CONTROLLER_IMAGEImage the chaoscenter uses to deploy the argo-workflow-controller service, e.g., litmuschaos/workflow-controller:v3.3.1.None
ARGO_WORKFLOW_EXECUTOR_IMAGEImage the chaoscenter uses to deploy the argo-workflow-executor service, e.g., litmuschaos/argoexec:v3.3.1.None
LITMUS_CHAOS_OPERATOR_IMAGEImage the chaoscenter uses to deploy the chaos-operator service, e.g., litmuschaos/chaos-operator:ci.None
LITMUS_CHAOS_RUNNER_IMAGEImage the chaoscenter uses to deploy the chaos-runner service, e.g., litmuschaos/chaos-runner:ci.None
LITMUS_CHAOS_EXPORTER_IMAGEImage the chaoscenter uses to deploy the chaos-exporter service, e.g., litmuschaos/chaos-exporter:ci.None
CONTAINER_RUNTIME_EXECUTORRuntime executor, e.g., k8sapi.None
WORKFLOW_HELPER_IMAGE_VERSIONImage version tag for the workflow helper, e.g., ci.None
INFRA_COMPATIBLE_VERSIONSImage version tag for the infra workloads, e.g., ci.None
DEFAULT_HUB_BRANCH_NAMEDefault branch name for GitOps repositories, e.g., master.None
ADMIN_USERNAMEWeb UI admin username.None
ADMIN_PASSWORDWeb UI admin password.None
DB_SERVERDatabase server address.None
DB_USERDatabase username.None
DB_PASSWORDDatabase password.None
REST_PORTREST API auth server port, e.g., 3000.None
GRPC_PORTgRPC auth server port, e.g., 3030.None
⁠Ports
OptionDescriptionDefault
-p <port>:3000Expose the container's port 3000 on the host's <port>. Replace port 3000 if any other port is passed to the environmental variable REST_PORT.None
-p <port>:3030Expose the container's port 3030 on the host's <port>. Replace port 3030 if any other port is passed to the environmental variable GRPC_PORT.None

[Report a bug⁠] [Contribute⁠]

Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy⁠.

Tag summary

Content type

Image

Digest

sha256:f9a2309ae…

Size

68.1 MB

Last updated

3 months ago

docker pull ubuntu/litmuschaos-server:3.29-26.04_edge

This week's pulls

Pulls:

46

Last week