Skip to content

Commit

Permalink
soak, lower kafka-source-dispatcher CPU requests (#2955)
Browse files Browse the repository at this point in the history
  • Loading branch information
maschmid authored Oct 21, 2024
1 parent 945efdf commit 3a86fd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/lib.bash
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,11 @@ function downstream_soak_tests {
SYSTEM_NAMESPACE="${SYSTEM_NAMESPACE:-"knative-eventing"}"
export SYSTEM_NAMESPACE

# Patch kafka-source-dispatcher CPU requests to 300m for higher density (soak tests do not generate high dataplane load)
oc patch knativekafka.operator.serverless.openshift.io knative-kafka -n "${EVENTING_NAMESPACE}" \
--type 'merge' \
--patch '{"spec": {"workloads": [{"name":"kafka-source-dispatcher","resources":[{"container":"kafka-source-dispatcher","requests":{"cpu":"300m"}}]}]}}'

RUN_FLAGS=(-failfast -timeout=240m -parallel=512)
if [ -n "${OPERATOR_TEST_FLAGS:-}" ]; then
IFS=" " read -r -a RUN_FLAGS <<< "$OPERATOR_TEST_FLAGS"
Expand Down

0 comments on commit 3a86fd9

Please sign in to comment.