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

Fix thresholds and cl2 vars #438

Merged
merged 1 commit into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions tests/tasks/generators/clusterloader/load-slos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ spec:
cat > "$(workspaces.source.path)/overrides.yaml" <<EOL
NODES_PER_NAMESPACE: $(params.nodes-per-namespace)
CL2_LOAD_TEST_THROUGHPUT: $(params.cl2-load-test-throughput)
CL2_DELETE_TEST_THROUGHPUT: $(params.cl2-load-test-throughput)
CL2_SCHEDULER_THROUGHPUT_THRESHOLD: 90
PODS_PER_NODE: $(params.pods-per-node)
CL2_USE_HOST_NETWORK_PODS: false
Expand All @@ -81,17 +82,19 @@ spec:
ENABLE_SYSTEM_POD_METRICS: false
NODE_MODE: master
CL2_DISABLE_DAEMONSETS: true
CL2_RATE_LIMIT_POD_CREATION: false
# Enable prometheus flags
ENABLE_PROMETHEUS_SERVER: true
PROMETHEUS_PVC_STORAGE_CLASS: gp2
PROMETHEUS_SCRAPE_KUBE_PROXY: true
PROMETHEUS_SCRAPE_APISERVER_ONLY: true
PROMETHEUS_SCRAPE_KUBELETS: true
PROMETHEUS_SCRAPE_KUBE_STATE_METRICS: true
PROMETHEUS_KUBE_PROXY_SELECTOR_KEY: k8s-app
# enable SLOs related CL2 vars
CL2_NETWORK_LATENCY_THRESHOLD: true
CL2_NETWORK_LATENCY_THRESHOLD: 1s
CL2_ENABLE_VIOLATIONS_FOR_NETWORK_PROGRAMMING_LATENCIES: true
CL2_NETWORK_PROGRAMMING_LATENCY_THRESHOLD: 20s
CL2_NETWORK_PROGRAMMING_LATENCY_THRESHOLD: 30s
CL2_ENABLE_DNSTESTS: true
CL2_USE_ADVANCED_DNSTEST: true
CL2_ENABLE_API_AVAILABILITY_MEASUREMENT: true
Expand Down
5 changes: 4 additions & 1 deletion tests/tasks/generators/clusterloader/load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,18 @@ spec:
cat > "$(workspaces.source.path)/overrides.yaml" <<EOL
NODES_PER_NAMESPACE: $(params.nodes-per-namespace)
CL2_LOAD_TEST_THROUGHPUT: $(params.cl2-load-test-throughput)
CL2_DELETE_TEST_THROUGHPUT: $(params.cl2-load-test-throughput)
CL2_SCHEDULER_THROUGHPUT_THRESHOLD: 70
PODS_PER_NODE: $(params.pods-per-node)
CL2_RATE_LIMIT_POD_CREATION: false
CL2_USE_HOST_NETWORK_PODS: false
# we are not testing statefulsets at this point
SMALL_STATEFUL_SETS_PER_NAMESPACE: 0
MEDIUM_STATEFUL_SETS_PER_NAMESPACE: 0
# we are not testing PVS at this point
CL2_ENABLE_PVS: false
PROMETHEUS_SCRAPE_KUBE_PROXY: false
PROMETHEUS_SCRAPE_KUBE_PROXY: true
PROMETHEUS_KUBE_PROXY_SELECTOR_KEY: k8s-app
PROMETHEUS_SCRAPE_APISERVER_ONLY: true
ENABLE_SYSTEM_POD_METRICS: false
NODE_MODE: master
Expand Down
Loading