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

node pools: implement CLI for node pool jobs command #17432

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Conversation

tgross
Copy link
Member

@tgross tgross commented Jun 5, 2023

WIP this PR current includes everything in #17431. I'll rebase once that's been merged.

Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

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

Leaving some early review because I'm nosy 😅

command/node_pool_jobs.go Outdated Show resolved Hide resolved
command/node_pool_jobs.go Show resolved Hide resolved
command/node_pool_list.go Outdated Show resolved Hide resolved
website/content/docs/commands/node-pool/jobs.mdx Outdated Show resolved Hide resolved
Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

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

LGTM! The general -namespace website docs needs to be updated since it's not just job and alloc subcommands anymore 😅
https://github.com/hashicorp/nomad/blob/main/website/content/partials/general_options.mdx?plain=1#L10

The CLI help is already fixed:
https://github.com/hashicorp/nomad/blob/main/command/meta.go#L363

command/node_pool_jobs.go Outdated Show resolved Hide resolved
command/node_pool_jobs.go Outdated Show resolved Hide resolved
website/content/docs/commands/node-pool/jobs.mdx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/node-pools Issues related to node pools type/enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants