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

Add automountServiceAccountToken option for k8s executor #2562

Merged
merged 6 commits into from Jan 21, 2022

Conversation

xhejtman
Copy link
Contributor

Worker pods do not need to automount service account token usually.
Without token, it starts faster and it is a bit more secure.

Moreover, if for some highly parallel tasks a large number of pods is spawned at once, there are races in mounting. Setting this option to false (not by default), mitigate this issue.

Some pipelines need to pass -entry parameter. Make it work with kuberun executor.

Signed-off-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: Lukas Hejtmanek <xhejtman@gmail.com>
Signed-off-by: Lukas Hejtmanek <xhejtman@gmail.com>
Signed-off-by: Lukas Hejtmanek <xhejtman@gmail.com>
Worker pods do not need to automount service account token usually.
Without token, it starts faster and it is a bit more secure.

Signed-off-by: Lukas Hejtmanek <xhejtman@gmail.com>
Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

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

@bentsherman does look ok to you?

@pditommaso pditommaso merged commit 1b5908e into nextflow-io:master Jan 21, 2022
@pditommaso
Copy link
Member

Merged. Thanks for this contribution!

phue pushed a commit to phue/nextflow that referenced this pull request Jan 25, 2022
…#2562) [ci fast]

Signed-off-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: Lukas Hejtmanek <xhejtman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants