* update to 2.34.0 Signed-off-by: kaihsun <[email protected]> * use DeploymentHandle instead * change to new Serve API Signed-off-by: kaihsun <[email protected]> * skip ray serve autoscaling Signed-off-by: kaihsun <[email protected]> * fix autoscaling issue Signed-off-by: kaihsun <[email protected]> --------- Signed-off-by: kaihsun <[email protected]>
KubeRay Performance Tests
This directory contains a collection of large scale KubeRay tests using clusterloader2. clusterloader2 is a Kubernetes load testing tool by SIG Scalability used for Kubernetes scalability and performance testing.
Running clusterloader2 tests
First, install the perf-tests repository and compile the clusterloader2 binary
git clone [email protected]:kubernetes/perf-tests.git
cd perf-tests/clusterloader2
go build -o clusterloader2 ./cmd
Run the following command to run clusterloader2 against one of the test folders. In this example we'll run the test configured in the 100-rayjob folder.
clusterloader2 --provider=<provider-name> --kubeconfig=<path to kubeconfig> --testconfig=100-rayjob/config.yaml
Tests & Results
Each directory contains a test scenario and it's clusterloader2 configuraiton. Within the directories contains a results subdirectory containing junit.xml files generated by clusterloader2
for previously executed runs of the tests.
The current lists of tests are:
Run a performance test with Kind
You can test clusterloader2 configs using Kind.
First create a kind cluster:
kind create cluster --image=kindest/node:v1.27.3
Install KubeRay;
helm install kuberay-operator kuberay/kuberay-operator --version 1.1.0
Run a clusterloader2 test:
clusterloader2 --provider kind --kubeconfig ~/.kube/config --testconfig ./100-rayjob/config.yaml
Note: If you want to generate a number of RayJob custom resources other than 100, you need to make the following changes: (1) modify replicasPerNamespace in the "Creating RayJobs" step of the config.yaml file, and (2) adjust expect_succeeded in the wait-for-rayjobs.sh file.