Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
An experiment to trigger some chaos into FoundationDB on Kubernetes
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
chaos
setup
workload
LICENSE
README.md

README.md

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'
You can’t perform that action at this time.