Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[m3snch] kube script: add warmup between starts #1529

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

schallert
Copy link
Collaborator

We see some weird behavior when all of the clients try to start at once,
let's add a warmup.

We see some weird behavior when all of the clients try to start at once,
let's add a warmup.
@schallert schallert force-pushed the schallert/m3nsch_k8s_warmup branch from b0e6e4b to f8a181b Compare April 3, 2019 14:03
@@ -34,6 +36,19 @@ fi

AGENT_ENDPOINTS=$(get_endpoints)

if [[ "$#" -eq 1 && "$1" == "start" ]]; then
(
IFS=","
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this being used? I'm confused

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup! This is some bash-foo that when we iterate over the comma-separated $AGENT_ENDPOINTS will treat , as the separator (it's usually , \t, or \n). https://bash.cyberciti.biz/guide/$IFS

@schallert schallert merged commit 89b57ff into master Apr 3, 2019
@schallert schallert deleted the schallert/m3nsch_k8s_warmup branch April 3, 2019 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants