No description
- Python 75.9%
- Dockerfile 24.1%
|
|
||
|---|---|---|
| .github/workflows | ||
| deploy | ||
| client.py | ||
| Dockerfile | ||
| Pipfile | ||
| Pipfile.lock | ||
| README.md | ||
| server.py | ||
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:
- Use Tiger VNC: http://tigervnc.bphinz.com/nightly/
- connect to
127.0.0.1 - password is
idbehold
Doom Tips:
iddqdGod ModeidfaAll Weapons, etc