Files
Antti Kervinen 6213a499c1 metrics: scaling: add pod response latency test
- Send n requests for each of the running pods.
- Measure response time to response.
- Report response time percentiles: 5-25-50-75-95 %.
- Refactor scaling/*.sh variables to scaling/common.bash.

Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
2019-10-01 14:30:33 -06:00

40 lines
1023 B
Plaintext

{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"labels": {
"run": "busybox"
},
"name": "@DEPLOYMENT@"
},
"spec": {
"replicas": @REPLICAS@,
"selector": {
"matchLabels": {
"run": "busybox"
}
},
"template": {
"metadata": {
"labels": {
"run": "busybox",
"@LABEL@": "@LABELVALUE@"
}
},
"spec": {
"terminationGracePeriodSeconds": @GRACE@,
"runtimeClassName": "@RUNTIMECLASS@",
"automountServiceAccountToken": false,
"containers": [{
"name": "bb",
"image": "busybox",
"command": @PODCOMMAND@,
"stdin": true,
"tty": true
}],
"restartPolicy": "Always"
}
}
}
}