Skip to content

An experiment to trigger some chaos into FoundationDB on Kubernetes

License

Notifications You must be signed in to change notification settings

PierreZ/fdb-k8s-chaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdb-k8s-chaos

This is an experiment to run at the same time:

Requirements

How-to

# Setup the cluster with metrics
kubectl apply -f setup/

# Wait for the cluster to be healthy
kubectl get foundationdbcluster sample-cluster

# Wait for the metrics exporter to be healthy
kubectl get pods fdb-prometheus-exporter

# Start a workload
kubectl apply -f workload/load-fdb.yaml

# View workload
kubectl logs fdb-bench

# Get a shell to run 'status' in it
kubectl exec -it sample-cluster-log-1 fdbcli

# start running a chaos
kubectl apply -f chaos/kill-one-pod-randomly.yaml

# Access Prometheus
export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace default port-forward $POD_NAME 9090
firefox localhost:9090 # one cool metric is 'fdb_workload_transactions_per_second'

About

An experiment to trigger some chaos into FoundationDB on Kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published