Skip to content

feat: show NodePool status in kubectl output - #78

Merged
InftyAI-Agent merged 2 commits into
InftyAI:mainfrom
r3loac:main
Aug 25, 2026
Merged

feat: show NodePool status in kubectl output#78
InftyAI-Agent merged 2 commits into
InftyAI:mainfrom
r3loac:main

Conversation

@r3loac

@r3loac r3loac commented Aug 25, 2026

Copy link
Copy Markdown
Contributor
  • 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.

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
@r3loac

r3loac commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

done

@kerthcet

Copy link
Copy Markdown
Member

/lgtm
/approve
/kind feature

@InftyAI-Agent InftyAI-Agent added lgtm Looks good to me, indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. feature Categorizes issue or PR as related to a new feature. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Aug 25, 2026

@InftyAI-Agent InftyAI-Agent left a comment

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.

Approved: PR has both lgtm and approved labels

@InftyAI-Agent
InftyAI-Agent merged commit 294eb62 into InftyAI:main Aug 25, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. feature Categorizes issue or PR as related to a new feature. lgtm Looks good to me, indicates that a PR is ready to be merged. 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