- 1 min read
- Last Updated October 17, 2018
CloudFoundry's BOSH unifies CI/CD practices for virtualized, distributed systems like VMware vSphere and the open-source Chaos Lemur tool makes it relatively easy to inject failure into Pivotal Cloud Foundry systems. Chaos Lemur is a self-contained Java application that will randomly destroy virtual machines in any BOSH-managed environment. Similar to the original Chaos Monkey, Chaos Lemur can be configured to execute on a daily schedule and target one or more VMs for destruction based on pseudo-random probabilities. It can also be integrated with Datadog to log destruction events.
Chaos Lemur is a standalone Java 8 application that requires Maven for building and deployment, but otherwise, it can be hosted anywhere. Configuration is handled using local environment variables.
|Per-run probability a VM will be destroyed (0.0 to 1.0).||Float|
|When enabled, Chaos Lemur will perform every step of the process except actual VM destruction.||Boolean|
|The schedule using Spring cron syntax that indicates when to execute Chaos Lemur.||String|
|A comma-separated list indicating the Deployments or Jobs that are not eligible for deletion.||String|
|A comma-separated list indicating the Deployments or Jobs that are eligible for deletion.||String|
Chaos Lemur also requires an infrastructure on which to perform attacks. This requires specifying credential environment variables for your application infrastructure. The full list of supported infrastructures and their respective variables can be found here, but below you'll find the necessary settings for vSphere.
|The vSphere host used to destroy VMs.|
|Username for |
|Password for |
The final (optional) component for using Chaos Lemur is Redis. If configured, Chaos Lemur will use Redis to store persistence state information.
Gremlin Free finds and helps you fix weaknesses in your VMware architecture before they cause problems. Gremlin makes Chaos Engineering simple, safe, and secure, improving your system's stability and resilience against unexpected failures. You can start running Chaos Experiments on your VMware application in just a few minutes by installing Gremlin as a Cloud Foundry add-on. Gremlin Free can killing off virtual machines and overload CPU so you can test your resilience to the unexpected.