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

Rolling upgrade of multiple groups, one group at a time #4073

Closed
ArseniyBelorukov opened this issue Mar 29, 2018 · 4 comments
Closed

Rolling upgrade of multiple groups, one group at a time #4073

ArseniyBelorukov opened this issue Mar 29, 2018 · 4 comments

Comments

@ArseniyBelorukov
Copy link

ArseniyBelorukov commented Mar 29, 2018

Nomad version

0.7.1

Operating system and Environment details

Linux / SUSE Linux Enterprise Server 12 SP2

Issue

I have job with 3 multiple groups and max_parallel=1 on job level.
I change version of docker image in each group and 'nomad plan' it.
All group have "forces create/destroy update" and they are updated in one time.
Can I change this behaviour?

Expected behaviour:
Multiple groups will be updated one-by-one.

Observed behaviour:
Multiple groups are updated in one time.

Job file (if appropriate)

attach
myservice.nomad.txt

@shantanugadgil
Copy link
Contributor

I think your are asking for inter-group dependency within a job?
I don't think this is doable for now.

Similar issues already exist, example: #419

There is a concept of a "leader task", if that helps you:
https://www.nomadproject.io/docs/job-specification/task.html#leader

For my use-case I separate my groups/tasks as separate jobs.

Regards,
Shantanu

@ArseniyBelorukov ArseniyBelorukov changed the title [question] [question] Rolling update of multiple groups Apr 2, 2018
@ArseniyBelorukov
Copy link
Author

@shantanugadgil thanks for answer.
I want something like in #3748

@chelseakomlo chelseakomlo changed the title [question] Rolling update of multiple groups Update groups one-by-one Apr 2, 2018
@chelseakomlo chelseakomlo changed the title Update groups one-by-one Rolling upgrade of multiple groups, one group at a time Apr 2, 2018
@chelseakomlo
Copy link
Contributor

Thanks for the question- we'll track this issue in #419. See the recommended workaround in #3748 in the short term.

@github-actions
Copy link

github-actions bot commented Dec 1, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants