Skip to content

viniciusCSreis/golang-chaos-mesh-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Micro-services

Test project with skaffold,kind,chaos mech and nats

Prerequisites

Config Cluster

    ./scripts/init-local-cluster.sh

Run micro services

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

Run experiments

    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

List running experiments

To list experiments you can access the chaos mesh ui: http://localhost:2333

Delete experiments

    kubectl delete -f experimets/delay-nats.yaml

now create is fast curl -i -X POST localhost:3000/authors

Delete cluster

    kind delete cluster

About

Poc with skaffold, kind, chaos mech and nats

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published