Skip to content

Commit

Permalink
fix thresholds and cl2 vars
Browse files Browse the repository at this point in the history
  • Loading branch information
hakuna-matatah committed Nov 21, 2023
1 parent 30d0379 commit ff3e833
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
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

0 comments on commit ff3e833

Please sign in to comment.