No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 75.9%
  • Dockerfile 24.1%
Find a file
Chris Pressland fc72a59ea0
Some checks failed
build / build (push) Failing after 2m0s
Set upstream image to latest version
2022-02-12 20:18:19 +00:00
.github/workflows Initial Commit 2022-01-16 20:50:14 +00:00
deploy Set upstream image to latest version 2022-02-12 20:18:19 +00:00
client.py pre-demo tweaks 2022-02-02 19:16:24 +00:00
Dockerfile Initial Commit 2022-01-16 20:50:14 +00:00
Pipfile pre-demo tweaks 2022-02-02 19:16:24 +00:00
Pipfile.lock pre-demo tweaks 2022-02-02 19:16:24 +00:00
README.md pre-demo tweaks 2022-02-02 19:16:24 +00:00
server.py Initial Commit 2022-01-16 20:50:14 +00:00

Chaos Engineering

Simple repo to demo Kubernetes, Linkerd, and Kubedoom.

TODO

  • Add a presentation

Useful Commands

Start a Kubernetes Cluster in Kind:

$ brew install kind
$ kind create cluster

Install Linkerd:

$ linkerd install | kubectl apply -f -

Install Linkerd Viz:

$ linkerd viz install | kubectl apply -f -

Install Buoyant Cloud:

$ kubectl apply -f https://buoyant.cloud/agent/<snipped>

Deploy the Chaos Server:

$ kubectl apply -k deploy/chaos-server

Deploy the Chaos Client:

$ kubectl apply -k deploy/chaos-client

View Client Status:

$ watch -n 1 kubectl logs -n chaos-client deploy/chaos-client --tail 1

View Client Status in JSON with JQ formatting:

$ watch 'kubectl logs -n chaos-client deploy/chaos-client --tail 1 | jq'

Deploy the Chaos Server Authroization:

$ kubectl apply -k deploy/chaos-server-authorization

Deploy the Chaos Server Service Profile:

$ kubectl apply -k deploy/chaos-server-profile

View Effective Success Rate:

$ linkerd viz routes deploy/chaos-client -n chaos-client --to service/chaos-server --to-namespace chaos-server -o wide

Deploy Kubedoom:

$ kubectl apply -k deploy/kubedoom

Port-Forward Kubedoom

$ kubectl port-forward -n kubedoom deploy/kubedoom 5900:5900

VNC Tips:

Doom Tips:

  • iddqd God Mode
  • idfa All Weapons, etc