-
Notifications
You must be signed in to change notification settings - Fork 1
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
Populate NodeResourceTopology API #1
Conversation
Signed-off-by: Swati Sehgal <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: swatisehgal The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7cdce58
to
8404673
Compare
/hold |
8404673
to
e983aa0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-binding LGTM, want to have another pass later
question inside
go.mod
Outdated
k8s.io/apimachinery v0.22.3 | ||
k8s.io/client-go v0.22.3 | ||
k8s.io/code-generator v0.22.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why so old versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will bump the deps to newer version, Thanks for pointing this out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added additional commits but if squashing of commits is preferred, I can do that.
ae94654
to
6dd5f63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @swatisehgal for the PR. And apologies for the slow response time 🙄
Looks generally good, just a few small comments below.
Signed-off-by: Swati Sehgal <[email protected]>
Signed-off-by: Swati Sehgal <[email protected]>
Signed-off-by: Swati Sehgal <[email protected]>
Signed-off-by: Swati Sehgal <[email protected]>
6dd5f63
to
922662d
Compare
hey folks! My team is interested in this work (and I could help if needed). Is there a status update / what are next steps? |
Hi @vsoch The current status is that we are waiting for this PR to be reviewed by Kubernetes API reviewers. I am conscious that we are close to the holiday season and a lot of people are already out so will be actively pursuing soliciting of reviews from API reviewers in the beginning of new year. If you have bandwidth and would like, you are more than welcome to review the PR and let us know your feeedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments - still reviewing!
Signed-off-by: Swati Sehgal <[email protected]>
Signed-off-by: Swati Sehgal <[email protected]>
We are getting the following warnings if we continue using generate-groups.sh so updating to kube_codegen.sh instead as per the recommendation: ``` WARNING: generate-groups.sh is deprecated. WARNING: Please use k8s.io/code-generator/kube_codegen.sh instead. ``` Signed-off-by: Swati Sehgal <[email protected]>
a39ed45
to
20b997d
Compare
@liggitt A gentle ping for api reviews. |
will route this one to @thockin, it is much more aligned with the DRA reviews he's been doing and he has the topology stuff much more in his head Present in https://github.com/orgs/kubernetes/projects/169/views/3?sliceBy%5Bvalue%5D=thockin |
Thanks! |
Hi Swati,
I am about to get on a plane for KubeCon - is this OK to wait until after?
…On Thu, Mar 14, 2024 at 9:06 AM Swati Sehgal ***@***.***> wrote:
will route this one to @thockin <https://github.com/thockin>, it is much
more aligned with the DRA reviews he's been doing and he has the topology
stuff much more in his head
Present in
https://github.com/orgs/kubernetes/projects/169/views/3?sliceBy%5Bvalue%5D=thockin
Thanks!
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVCAQ6EEPYPKUUERT3TYYHDJBAVCNFSM6AAAAAA57EZG5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXHAYDONZYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
He's leaaaavin' on a jet plane... |
Hi Tim, sure no problem. Have a great KubeCon! |
@thockin A gentle ping to review this PR. Thanks! |
allocatable: 51 | ||
available: 51 | ||
capacity: 52 | ||
name: node-1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: node-1
Same to line 12.
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/assign @johnbelamaric |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
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-sigs/prow repository. |
What this PR does / why we need it:
This API is needed for Topology aware scheduling work in Kubernetes and it was suggested that a CRD based API in staging is not ideal and it would be better to find a more suitable location under Kubernetes umbrella (under kubernetes-sigs). The repo was created under kubernetes-sigs (kubernetes/org#4224) and this PR populates the repo.
Background information/ Additional context
NFD Topology Updater in Node feature Discovery and Topology aware scheduler plugin in scheduler-plugins are two components for enabling Topology aware scheduling in Kubernetes (additional details about these components can be found below). These two projects are based in kubernetes-sigs organisation and depend on https://github.com/k8stopologyawareschedwg/noderesourcetopology-api which is not operated by Kubernetes github management team.
Additional information about NFD Topology Updater and scheduler plugin
Why do we need Topology aware scheduling in Kubernetes?
With the introduction of Topology Manager in Kubelet, pods could be scheduled on a node where total amount of resources available satisfy the resources requested, but resource distribution could not satisfy the appropriate Topology Manager policy leading to pod admission failure. Topology aware scheduler aims to empower scheduler to make intelligent topology aware placement decisions optimizing cluster wide performance of workloads.
Which issue(s) this PR fixes:
kubernetes/community#6308
kubernetes/kubernetes#84869
Additional notes/documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: