An OpenShift load test traced slow pod starts to Cilium throttling
Red Hat’s test showed why healthy scheduling and a passing cluster-density benchmark can miss slow pod initialization.
A customized OpenShift cluster met expectations in one load test but missed its pod initialization target in another. In a Nov. 27 engineering write-up, Red Hat Consulting describes how it traced part of that delay to Cilium throttling during pod sandbox creation. Slowing the rate of pod creation eliminated the observed throttling errors, but initialization still missed the customer’s target.
What the two tests showed
The team started with the cluster-density workload in kube-burner-ocp, an OpenShift wrapper for kube-burner. That workload creates namespaces and resources such as pods, deployments, services and ConfigMaps. It behaved as expected. The node-density test told a different story: scheduling looked healthy, but the time to reach PodInitialized was unusually high. The customer’s configuration included Cilium, Gatekeeper, ScaleOps and OpenTelemetry injection, so a baseline result could not tell the team which part of the customized stack was responsible.
Image pulls were the first suspect. After pod events did not support that explanation, the team reran the test with garbage collection disabled so the benchmark namespaces and pods stayed around for inspection. Watching namespace events during creation exposed 127 Cilium HTTP 429 errors during pod sandbox setup.
A cleaner run was still a miss
The team lowered kube-burner’s request-rate and burst settings from 20 to 10 and then to 5. Red Hat’s chart shows measured initialization latency dropping from 45 seconds to 21 seconds and the error count falling from 127 to zero. The customer’s service-level objective was 15 seconds. The result links the creation rate to the observed delay in this environment; it does not establish that throttling explained the entire miss or that five is the right setting for another cluster.
For platform teams testing a customized OpenShift rollout, the useful decision is what to measure separately. Keep the broad density run as a baseline, but track scheduling and initialization independently, retain the test objects long enough to inspect events, and compare runs at different creation rates. Treat a run that drops the errors but still misses the latency objective as a diagnostic result, not a passing benchmark.
sources
- Red Hat Developer: Performance testing: Where benchmarks meet realitydevelopers.redhat.com
comments · 0