This repository contains a set of tools for testing the performance of all the nodes in a kubernetes cluster. When using nodes provided by cloud providers, there are cases where there some nodes in the cluster which are performing badly. This tool provides a way to test the performance of all the nodes in the cluster.
- Ping test
- CPU intensive load test
- Clone this repository and navigate to the root of the directory.
- Update
config.yaml
with the proper configurations about the cluster (The exact configurations will change based on the method of running the test as well as the cluster).
Run the following command to execute tests
docker run --name=k8s-node-performance-evaluator \
--rm \
--volume=${PWD}/config.yaml:/app/config.yaml:ro \
--volume=${HOME}/.kube/config:/.kube/config:ro \
nadunrds/k8s-node-perf-evaluator-test-runner:latest
Run the following command to execute tests
go build -o "${PWD}/out/test-runner" "${PWD}/cmd/test-runner"
./out/test-runner