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

nodeclassreadiness in nodepool status #825

Closed
wants to merge 16 commits into from

Conversation

sadath-12
Copy link
Contributor

@sadath-12 sadath-12 commented Nov 28, 2023

Fixes #493 (nodeclass part)

Description

Users can inspect there nodeclass readiness in the status conditions of nodepool

How was this change tested?
make verify

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

sadath-12 and others added 11 commits November 24, 2023 10:51
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 28, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sadath-12
Once this PR has been reviewed and has the lgtm label, please assign ellistarn for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Nov 28, 2023
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 28, 2023
@sadath-12
Copy link
Contributor Author

dup of #818 since I discarded those commits by miss . luckily had the backup of the code and pushed in this new branch

@sadath-12 sadath-12 changed the title Nodeclass1 nodeclassreadiness in nodepool status Nov 28, 2023
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 28, 2023
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
Copy link

This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 20, 2023
@jonathan-innis
Copy link
Member

@sadath-12 Take a look at this controller and give your thoughts: https://github.com/jonathan-innis/karpenter/blob/requeue-on-gvk/pkg/controllers/state/informer/nodeclassref.go. This is my basic idea around throwing all updates for any NodeClass updates that we get into a global channel that can be watched-on by any controller that cares. I implemented the watch for the disruption controller here: https://github.com/jonathan-innis/karpenter/blob/requeue-on-gvk/pkg/controllers/nodeclaim/disruption/controller.go#L133 but you could imagine how this might extend to trigger requeues on the NodePool controller for Readiness updates.

@github-actions github-actions bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 24, 2023
@sadath-12
Copy link
Contributor Author

Ya seems like a good way to do it . So are you getting the informer merged ? @jonathan-innis

Copy link

github-actions bot commented Jan 8, 2024

This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 8, 2024
@jonathan-innis jonathan-innis added blocked Unable to make progress due to some dependency and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 8, 2024
@jonathan-innis
Copy link
Member

PR is blocked by support for requiring apiVersion and kind in the nodeClassRef field: #909

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 7, 2024
@Bryce-Soghigian
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 8, 2024
@Bryce-Soghigian
Copy link
Member

/lifecycle freeze

@jonathan-innis
Copy link
Member

@engedaam Should have some thoughts around this PR. He was looking to leverage some of the work that he has been doing around the GetSupportedNodeClasses() function and the short requeue that would help us do this

@jonathan-innis
Copy link
Member

/assign @engedaam

@engedaam
Copy link
Contributor

Closing out this PR. Better to open a new PR, as it needs to be rebased

/close

@k8s-ci-robot
Copy link
Contributor

@engedaam: Closed this PR.

In response to this:

Closing out this PR. Better to open a new PR, as it needs to be rebased

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Unable to make progress due to some dependency cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Surface health conditions of Karpenter resources as status conditions
6 participants