chaosmonkey README

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

logo

NetflixOSS Lifecycle Build Status GoDoc GoReportCard

Chaos Monkey randomly terminates virtual machine instances and containers that run inside of your production environment. Exposing engineers to failures more frequently incentivizes them to build resilient services.

See the documentation for info on how to use Chaos Monkey.

Chaos Monkey is an example of a tool that follows the Principles of Chaos Engineering.

Requirements

This version of Chaos Monkey is fully integrated with Spinnaker, the continuous delivery platform that we use at Netflix. You must be managing your apps with Spinnaker to use Chaos Monkey to terminate instances.

Chaos Monkey should work with any backend that Spinnaker supports (AWS, Google Compute Engine, Azure, Kubernetes, Cloud Foundry). It has been tested with AWS, GCE, and Kubernetes.

Install locally

To install the Chaos Monkey binary on your local machine:

go get github.com/netflix/chaosmonkey/cmd/chaosmonkey

How to deploy

See the docs for instructions on how to configure and deploy Chaos Monkey.

Support

Simian Army Google group.

chaosmonkey (Netflix/chaosmonkey)

Searching Database…

这是干什么的?Chaos Monkey 是 Netflix 出品的一个韧性测试工具,它会随机关停你生产环境里的虚拟机实例和容器,让工程师经常直面故障,从而打造出能够承受故障的服务。
等等,它是故意搞坏我的生产环境的?是的——它会主动终止正在运行的生产实例。这个工具遵循混沌工程原则:定期注入真实的故障,让弱点在真正的宕机发生之前就暴露出来。
我怎么把它跑起来?在你自己的电脑上安装 Chaos Monkey 可执行文件,然后按照文档进行配置和部署。它是用 Go 写的,所以只提供一个单独的可执行文件。
随便指个基础设施就能用吗,还是有什么限制?确实有限制:这个版本与 Spinnaker(Netflix 使用的持续交付平台)深度集成,你必须通过 Spinnaker 来管理你的应用,Chaos Monkey 才能终止实例。
它到底支持哪些云平台?凡是 Spinnaker 支持的后端它都应该能用:AWS、Google Compute Engine、Azure、Kubernetes 和 Cloud Foundry。到目前为止,它只在 AWS、GCE 和 Kubernetes 上测试过。
为什么会有人专门做一个故意搞坏生产环境的工具?因为频繁且可控的故障是让服务变得有韧性最省钱的方式。随机终止实例,能把宕机变成工程师日常设计中要应对的常规事件,而不是他们凌晨三点才发现的罕见紧急事故。
Simian Army 是什么?Simian Army 是 Netflix 的一整套故障测试工具家族,Chaos Monkey 就是其中一员;README 把支持方面的问题都指向了 Simian Army 的 Google group。
用它要花钱吗?不花钱——Chaos Monkey 是基于 Apache-2.0 许可证的开源软件,你在自己的环境里运行它,除了它所管理的基础设施费用之外,不需要任何额外成本。
Creator
Netflix
Size
2 MB
Stars
17.2K
Age
9y
Commits · 90 Days