Skip to content

nadundesilva/k8s-node-perf-evaluator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Cluster Nodes' Performance Evaluator

Build

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.

Supported Test Types

  • Ping test
  • CPU intensive load test

How to Use

Updating Configurations

  1. Clone this repository and navigate to the root of the directory.
  2. 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).

How to run Test

Run using Docker Image

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

Build and Run from Source

Run the following command to execute tests

go build -o "${PWD}/out/test-runner" "${PWD}/cmd/test-runner"
./out/test-runner