litmus README

The project's README from github.com/litmuschaos/litmus. As one markdown file: README.md.

LitmusChaos

LitmusChaos

Open Source Chaos Engineering Platform

Slack Channel GitHub Workflow Docker Pulls GitHub stars GitHub issues Twitter Follow OpenSSF Best Practices FOSSA Status YouTube Channel



Read this in other languages.

🇰🇷 🇨🇳 🇧🇷 🇮🇳 🇪🇸

Overview

LitmusChaos is an open source Chaos Engineering platform that enables teams to identify weaknesses & potential outages in infrastructures by inducing chaos tests in a controlled way. Developers & SREs can practice Chaos Engineering with LitmusChaos as it is easy to use, based on modern Chaos Engineering principles & community collaborated. It is 100% open source & a CNCF project.

LitmusChaos takes a cloud-native approach to create, manage and monitor chaos. The platform itself runs as a set of microservices and uses Kubernetes custom resources (CRs) to define the chaos intent, as well as the steady state hypothesis.

At a high-level, Litmus comprises of:

architecture summary

At the heart of the platform are the following chaos custom resources:

The ChaosExperiment & ChaosEngine CRs are embedded within a Workflow object that can string together one or more experiments in a desired order.

ChaosExperiment CRs are hosted on hub.litmuschaos.io. It is a central hub where the application developers or vendors share their chaos experiments so that their users can use them to increase the resilience of the applications in production.

Use cases

Getting Started with Litmus

To get started, check out the Litmus Docs and specifically the Installation section of the Getting Started with Litmus page.

Contributing to Chaos Hub

Check out the Contributing Guidelines for the Chaos Hub

Community

Community Resources:

Feel free to reach out if you have any queries, concerns, or feature requests

Community Meetings

  1. Community Meetings
  1. Contributor Meetings

Fill out the LitmusChaos Meetings invite form to get your Calendar invite!

Videos

And More....

Blogs

Community Blogs:

Adopters

Check out the Adopters of LitmusChaos

(Send a PR to the above page if you are using Litmus in your chaos engineering practice)

License

Litmus is licensed under the Apache License, Version 2.0. See LICENSE for the full license text. Some of the projects used by the Litmus project may be governed by a different license, please refer to its specific license.

FOSSA Status

Litmus Chaos is part of the CNCF Projects.

CNCF

Litmus Docs Litmus Docs
CNCF Landscape Litmus on CNCF Landscape

litmus (litmuschaos/litmus)

Searching Database…

5.7K ·GitHub
这是什么?LitmusChaos 是一个面向 Kubernetes 的开源云原生混沌工程平台,让 SRE 和开发者可以运行受控的混沌实验,在真正的故障发生之前找出系统薄弱点。
这是一个独立应用,还是运行在我 Kubernetes 集群里的东西?它以一组微服务的形式运行在 Kubernetes 之上:混沌控制平面(chaos-center)负责构建、调度和可视化混沌工作流,而混沌执行平面(chaos agent 加上各种 operator)真正对目标集群注入故障。
怎么让 Litmus 跑起来?README 没有直接给出安装命令,而是指向官方文档中 Getting Started with Litmus 页面的 Installation 部分。
使用它需要已有的 Kubernetes 集群吗?需要——Litmus 完全围绕 Kubernetes 自定义资源(ChaosExperiment、ChaosEngine、ChaosResult)构建,并部署到目标 Kubernetes 环境中,因此必须有一个运行中的集群。
Litmus 面向谁——开发者、CI/CD 还是运维团队?三者都是:开发者可以把混沌测试当作单元/集成测试的延伸,CI/CD 流水线搭建者可以把混沌作为流水线的一个阶段,SRE 则可以规划和调度混沌实验来加固生产基础设施。
ChaosHub 是什么?ChaosHub(hub.litmuschaos.io)是一个中心枢纽,开发者和厂商在这里发布他们的 ChaosExperiment 自定义资源,其他用户可以复用这些资源来测试自己应用的韧性。
我可以接入自己的故障注入工具,而不用 Litmus 内置的实验吗?可以,通过 BYOC(自带混沌),ChaosExperiment 可以封装任何第三方故障注入工具,同时 Litmus 仍负责调度和稳态检查。
怎么查看混沌实验是成功还是失败?每次运行都会生成一个带有判定结果和回滚状态的 ChaosResult 资源,chaos-exporter 会把它转换成 Prometheus 指标,用于仪表盘和自动化流水线。
ChaosExperiment、ChaosEngine 和 ChaosResult 分别是什么?ChaosExperiment 定义可复用的故障模板,ChaosEngine 通过运行和探针设置把这个故障关联到具体的目标工作负载/节点,ChaosResult 则保存运行结果。
What are similar projects?thanos, istio, post-mortems, apisix, cilium, chaosmonkey, jaeger, faas
Size
172.7 MB
Stars
5.7K
Age
9y
Commits · 90 Days