Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soak, lower kafka-source-dispatcher CPU requests #2955

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading