You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Ensure a Prometheus stack is running so metric-based measurements succeed.
8
+
9
+
./run-e2e.sh cluster-loader2 \
10
+
--provider=kind \
11
+
--kubeconfig=$HOME/.kube/config \
12
+
--report-dir=/tmp/clusterloader2-results \
13
+
--testconfig=testing/dra-baseline/config.yaml \
14
+
--enable-prometheus-server=true \
15
+
--nodes=1 # adjust to match your cluster size
16
+
```
17
+
18
+
##### What the test does
19
+
20
+
1. Calculates per-pod CPU from node capacity and `CL2_PODS_PER_NODE`.
21
+
2. Fills each node to ~90 % CPU utilisation with long-running Jobs.
22
+
3. Waits until all fill pods are running, then gathers startup & scheduler metrics.
23
+
4. Resets metrics and runs short-lived Jobs (churn) that consume the remaining capacity.
24
+
5. Gathers the same metrics for the churn phase.
25
+
26
+
Collected measurements include PodStartupLatency and Prometheus-based scheduler metrics, allowing direct comparison to the DRA test (`testing/dra/config.yaml`).
27
+
```
28
+
29
+
This mirrors the structure and tone of `testing/dra/README.md` while documenting the CPU-only baseline test and its new tunable parameters.
30
+
31
+
### Usage
32
+
33
+
Follow the **Getting Started** guide at `clusterloader2/docs/GETTING_STARTED.md`
34
+
to bring up a kind cluster suitable for ClusterLoader² tests.
35
+
36
+
#### Steady-State CPU Baseline Test
37
+
38
+
This scenario saturates each worker node to ≈ 90 % of its *effective* CPU
39
+
capacity with long-running pods and then measures scheduler performance while
40
+
continuously creating short-lived pods that consume the remaining 10 %.
41
+
42
+
Unlike the original `testing/dra/` test, **no Device Resource Allocation
43
+
(ResourceClaims) are used**—each pod simply requests CPU and memory.
44
+
This provides a clean baseline for comparing DRA overhead.
0 commit comments