Skip to content

feat: show NodePool status in kubectl output - #78

Open
r3loac wants to merge 1 commit into
InftyAI:mainfrom
r3loac:main
Open

feat: show NodePool status in kubectl output#78
r3loac wants to merge 1 commit into
InftyAI:mainfrom
r3loac:main

Conversation

@r3loac

@r3loac r3loac commented Aug 25, 2026

Copy link
Copy Markdown
  • Add a Status printer column derived from the NodePool Ready condition
  • Regenerate the NodePool CRD
  • Add regression coverage for the printer column
  • Document the design, behavior, and deployment workflow

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

Does this PR introduce a user-facing change?


- Add a Status printer column derived from the NodePool Ready condition
- Regenerate the NodePool CRD
- Add regression coverage for the printer column
- Document the design, behavior, and deployment workflow
@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Aug 25, 2026
@InftyAI-Agent
InftyAI-Agent requested a review from kerthcet August 25, 2026 12:04
@@ -0,0 +1,76 @@
/*

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove the file please, I think we don't need this.

name: Strategy
type: string
- jsonPath: .spec.providers[*].name
- jsonPath: .status.providers

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this.

@@ -0,0 +1,47 @@
# NodePool status printer column

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove this please, it's very straightforward.

Comment thread docs/architecture.md
- compute `status.placed` from Bound NodeClaims per provider;
- watch NodeClaims so placement counts update as instances come and go.

The default `kubectl get nodepools` table exposes the `Ready` condition's value

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove this part please.

@kerthcet

Copy link
Copy Markdown
Member

kindly ping @r3loac Generally LGTM. Thanks for your efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/needs-kind Indicates a PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants