mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 13:36:43 +00:00
6213a499c1
- 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>
40 lines
1023 B
Plaintext
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"
|
|
}
|
|
}
|
|
}
|
|
}
|