Skip to content

Commit

Permalink
Merge pull request #635 from oxddr/exp-network-latency
Browse files Browse the repository at this point in the history
Enable probes measuring in-cluster network latency.
  • Loading branch information
k8s-ci-robot committed Jul 15, 2019
2 parents 9411a61 + b468297 commit cba7882
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions clusterloader2/testing/density/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ steps:
Method: APIResponsivenessPrometheus
Params:
action: start
{{if $ENABLE_PROBES}}
# TODO(oxddr): figure out how many probers to run in function of cluster
- Identifier: Probes
Method: Probes
Params:
action: start
replicasPerProbe: {{DivideInt .Nodes 100}}
{{end}}
- Identifier: TestMetrics
Method: TestMetrics
Params:
Expand Down Expand Up @@ -199,6 +207,12 @@ steps:
{{if $ENABLE_PROMETHEUS_API_RESPONSIVENESS}}
enableViolations: true
{{end}}
{{if $ENABLE_PROBES}}
- Identifier: Probes
Method: Probes
Params:
action: gather
{{end}}
- Identifier: TestMetrics
Method: TestMetrics
Params:
Expand Down
13 changes: 13 additions & 0 deletions clusterloader2/testing/load/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ steps:
action: start
labelSelector: group = load
threshold: 1h
{{if $ENABLE_PROBES}}
- Identifier: Probes
Method: Probes
Params:
action: start
replicasPerProbe: {{DivideInt .Nodes 100}}
{{end}}
{{if $PROMETHEUS_SCRAPE_KUBE_PROXY}}
- Identifier: NetworkProgrammingLatency
Method: NetworkProgrammingLatency
Expand Down Expand Up @@ -278,6 +285,12 @@ steps:
Method: PodStartupLatency
Params:
action: gather
{{if $ENABLE_PROBES}}
- Identifier: Probes
Method: Probes
Params:
action: gather
{{end}}
{{if $PROMETHEUS_SCRAPE_KUBE_PROXY}}
- Identifier: NetworkProgrammingLatency
Method: NetworkProgrammingLatency
Expand Down

0 comments on commit cba7882

Please sign in to comment.