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

Run tasks by node attributes specific parameters #419

Open
alexarefev opened this issue Apr 18, 2023 · 0 comments
Open

Run tasks by node attributes specific parameters #419

alexarefev opened this issue Apr 18, 2023 · 0 comments
Labels
feature improvement New feature or request

Comments

@alexarefev
Copy link
Collaborator

alexarefev commented Apr 18, 2023

It's nice to have the functionality that allows to run tasks on particular nodes and nodes should be specified not by name but by their attributes eg. labels, roles. The following YAML describes the upgrade procedure:

upgrade_plan:
  - v1.26.3
upgrade_nodes:
  labels: {region: infra}

The CLI usage:
kubemarine install --tasks="prepare.package_manager" --nodes="labels='region=infra'"

@alexarefev alexarefev added improvement New feature or request feature labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature improvement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant