Skip to content

Commit

Permalink
Merge pull request kubernetes#1569 from marseel/feature/allow_to_disa…
Browse files Browse the repository at this point in the history
…ble_APIResponsivenessPrometheusSimple

Allow to disable APIResponsivenessPrometheusSimple violations
  • Loading branch information
k8s-ci-robot authored Nov 13, 2020
2 parents fd6c58b + e342a0c commit 118586b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clusterloader2/testing/load/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
{{$ALLOWED_SLOW_API_CALLS := DefaultParam .CL2_ALLOWED_SLOW_API_CALLS 0}}
{{$CUSTOM_API_CALL_THRESHOLDS := DefaultParam .CUSTOM_API_CALL_THRESHOLDS ""}}
{{$ENABLE_VIOLATIONS_FOR_API_CALL_PROMETHEUS := DefaultParam .CL2_ENABLE_VIOLATIONS_FOR_API_CALL_PROMETHEUS false}}
{{$ENABLE_VIOLATIONS_FOR_API_CALL_PROMETHEUS_SIMPLE := DefaultParam .CL2_ENABLE_VIOLATIONS_FOR_API_CALL_PROMETHEUS_SIMPLE true}}
#Variables
{{$namespaces := DivideInt .Nodes $NODES_PER_NAMESPACE}}
{{$totalPods := MultiplyInt $namespaces $NODES_PER_NAMESPACE $PODS_PER_NODE}}
Expand Down Expand Up @@ -866,7 +867,7 @@ steps:
Method: APIResponsivenessPrometheus
Params:
action: gather
enableViolations: true
enableViolations: {{$ENABLE_VIOLATIONS_FOR_API_CALL_PROMETHEUS_SIMPLE}}
useSimpleLatencyQuery: true
summaryName: APIResponsivenessPrometheus_simple
allowedSlowCalls: {{$ALLOWED_SLOW_API_CALLS}}
Expand Down

0 comments on commit 118586b

Please sign in to comment.