Skip to content

add ComputeDomain status tracking with allocated nodes#157

Merged
enoodle merged 1 commit intomainfrom
erez/compute-domain-node-tracking
Jan 20, 2026
Merged

add ComputeDomain status tracking with allocated nodes#157
enoodle merged 1 commit intomainfrom
erez/compute-domain-node-tracking

Conversation

@enoodle
Copy link
Contributor

@enoodle enoodle commented Jan 15, 2026

Update the compute domain controller to track which nodes have allocated ResourceClaims and update the ComputeDomain status accordingly. The status includes a list of nodes and an overall Ready/NotReady state based on the numNodes spec field.

Key changes:

  • Watch ResourceClaims with server-side label filtering for efficiency
  • Update ComputeDomain status.nodes with allocated node names
  • Set status.status to Ready when numNodes is 0 or reached
  • Add label constants to centralize label string usage
  • Update ClusterRole RBAC to allow list/watch on resourceclaims

Update the compute domain controller to track which nodes have allocated
ResourceClaims and update the ComputeDomain status accordingly. The status
includes a list of nodes and an overall Ready/NotReady state based on the
numNodes spec field.

Key changes:
- Watch ResourceClaims with server-side label filtering for efficiency
- Update ComputeDomain status.nodes with allocated node names
- Set status.status to Ready when numNodes is 0 or reached
- Add label constants to centralize label string usage
- Update ClusterRole RBAC to allow list/watch on resourceclaims
@enoodle enoodle merged commit 8464876 into main Jan 20, 2026
7 of 8 checks passed
@enoodle enoodle deleted the erez/compute-domain-node-tracking branch January 20, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants