New Features and Enhancements
-
Features a revamped chaos charthub with a more resilient design and improved user experience
-
Introduces ability (github workflows) to trigger individual/multiple e2e tests or complete e2e test-suite for litmus PRs via GitHub comments
-
Adds a new repo litmuschaos/litmus-demo to provide a fully packaged demo environment to run chaos under 10 min
-
Adds node service kill chaos chaos libraries (& kubelet kill chaos experiment on specified nodes)
-
Improves the pod cpu hog experiment by adding go chaoslib to support containerd/crio runtime
-
Introduces chaoslib pattern to choose blast radius / percentage (target) pods and abort chaos on target containers
-
Improves the chaos-scheduler controller to halt/resume chaos
-
Enhances the chaos-schedule CR schema to provide dedicated attributes for the schedule modes (now, once, repeat) over mutually-exclusive fields with enhanced OpenAPI schema validation
-
Introduces ImagePullPolicy as a chaosexperiment CR attribute (.spec.definition.imagePullPolicy) to support usecases where the experiments are needed to be run with locally built images, as with PR-triggered e2e
-
Enhances the container-kill experiment to repeat the chaos per an interval over a total duration with support for containerd/crio runtime.
-
Adds go-based helper pods for pod-delete and container-kill chaos libraries
-
Improves the litmus-go scaffold tool to use lighter base images & improved default events
-
Improves the validating webhook-based admission controller to call out missed annotations on target applications
-
Improves unit-test coverage for chaos-operator
-
Enhances the getting started (chaosengine construction) & troubleshooting docs (uninstallation steps)
Major Bug Fixes
-
Fixes the missing/clustered event generation on litmus-go chaos experiment
-
Fixes operator behavior of triggering chaos disregarding annotation status on the target application
-
Fixes the cluster level running experiment count metric from chaos-exporter
-
Adds concurrent updation of the event counter for each iteration of chaos injection
-
Fixes chaos experiment failures (securitycontext additions) on OpenShift 4.3
Installation
kubectl apply -f https://litmuschaos.github.io/litmus/litmus-operator-v1.5.0.yaml
Verify your installation
-
Verify if the chaos operator is running
kubectl get pods -n litmus
-
Verify if chaos CRDs are installed
kubectl get crds | grep chaos
For more details refer to the documentation at Docs