[WIP] Perf config variants#1863
Conversation
This allows the configs for continuous runs and single runs to be separate. The continuous configs are the same as single right now, but later will use CronJobs and the real mako sidecar. Remove namespace so namespace can be set by kubectl.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grantr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| function install_mako_resources() { | ||
| echo ">> Setting up config-mako ConfigMap" | ||
| cat <<EOF | kubectl apply -f - | ||
| cat <<EOF | kubectl apply -n ${TEST_NAMESPACE}-f - |
There was a problem hiding this comment.
| cat <<EOF | kubectl apply -n ${TEST_NAMESPACE}-f - | |
| cat <<EOF | kubectl apply -n ${TEST_NAMESPACE} -f - |
|
overall LGTM. I have one comment to fix a typo. /lgtm |
ko apply -f continuous/ to create CronJobs that will run the broker-latency test every half hour. The continuous config runs in default namespace because we expect prod to run one benchmark per cluster.
|
New changes are detected. LGTM label has been removed. |
| name: config-mako | ||
| - name: service-account | ||
| secret: | ||
| secretName: service-account No newline at end of file |
There was a problem hiding this comment.
Add trailing newline:
| secretName: service-account | |
| secretName: service-account | |
| # Human owners for manual benchmark adjustments. | ||
| owner_list: "grantrodgers@google.com" | ||
| owner_list: "chizhg@google.com" | ||
| owner_list: "srinivashegde@google.com" |
There was a problem hiding this comment.
Remove trailing whitespace:
| owner_list: "srinivashegde@google.com" | |
| owner_list: "srinivashegde@google.com" |
| - name: config-mako | ||
| mountPath: /etc/config-mako | ||
| terminationMessagePolicy: FallbackToLogsOnError | ||
| - name: mako |
There was a problem hiding this comment.
I am guessing only this job needs mako creds?
|
Fixes #1700 |
|
@grantr @srinivashegde86 is this PR ready to be merged? It generally looks good to me. |
|
@Fredy-Z @grantr let's get the comments addressed (including the suggestions from the sockpuppet) Otherswise, /lgtm |
|
I'll create a new PR shortly that's up to date with the latest perf test image. |
We only have one config for running perf tests today. That's suboptimal because there are at least two variants in use:
This PR adds support for config variants.
Proposed Changes
continuousandsingle.continuousvariant./area performance
/project perf/measurement