Test project with skaffold,kind,chaos mech and nats
- Docker
- Kubectl
- skaffold install skaffold
- Kind Install Kind
./scripts/init-local-cluster.sh
wait nats cluster to be running. (if the nats is not running the pods will restart until the nats is running)
./scripts/run-local.sh
kubectl apply -f experimets/delay-nats.yaml
List authors is fast: curl localhost:3000/authors
Create authors is slow and
return timeout error: curl -i -X POST localhost:3000/authors
To list experiments you can access the chaos mesh ui: http://localhost:2333
kubectl delete -f experimets/delay-nats.yaml
now create is fast curl -i -X POST localhost:3000/authors
kind delete cluster