Simulate failure, in specific ways.
go run main.go
$ go run main.go -h
-addr string
address to serve on (default ":8080")
-distribution string
failure distribution, must be one of: random, contiguous, evenly (default "random")
-success-rate int
server succcess rate percentage [0,100] (default 100)
Three options for failure distribution:
go run main.go --distribution=random
# given success rate 80%, succeed 80 times, then fail 20 times
go run main.go --distribution=contiguous
# given success rate 80%, succeed 4 times, then fail 1 time
go run main.go --distribution=evenly
docker build . -t buoyantio/failer:latest
cat k8s.yml | kubectl apply -f -
kubectl -n failer get po --watch
Content type
Image
Digest
Size
33.2 MB
Last updated
over 6 years ago
docker pull buoyantio/failer