-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add GetAllocatableResource to PodResource API #2404
Add GetAllocatableResource to PodResource API #2404
Conversation
Hi @fromanirh. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
rationale for this split in this slack conversation the main goal is to make this change easier to review |
this will need a /prod-readiness file change as well so it gets assigned a prr reviewer. |
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
d3de0da
to
1181c5b
Compare
/assign @derekwaynecarr @johnbelamaric |
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
1181c5b
to
2d90789
Compare
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
- Metric name: `pod_resources_endpoint_requests_total` | ||
- Components exposing the metric: kubelet | ||
|
||
* **What are the reasonable SLOs (Service Level Objectives) for the above SLIs?** N/A or refer to Kubelet SLIs. |
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.
do we have SLIs/SLOs for the pod-resources api in general? should we expect < x% of requests to be errors?
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.
in general this API is expected to never fail. I'll just leave "N/A" here.
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
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.
By the way, not all of the PRR sections need to be complete for alpha readiness to be approved.
e2e tests addition after the feature gate addition: kubernetes/kubernetes@e5c5db0 |
2d90789
to
bf341b5
Compare
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
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.
just the following requests:
- metric for failure
- clarify the GRPC API always returns an error if invoked when feature gate is disabled
thanks for separating this into its own enhancement!
keps/sig-node/2403-pod-resources-allocatable-resources/README.md
Outdated
Show resolved
Hide resolved
In order to simplify and make more understandable the KEP, and to comply with the new process, we extract the unit of work still ongoing in this KEP from kubernetes#1884 Work in this area was done during the 1.20 and 1.21 cycles in kubernetes/kubernetes#95734 Rationale, discussion and documentation for all the changes including the one proposed in this KEP have been described in https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments and reported here were relevant Signed-off-by: Francesco Romani <[email protected]>
ed2dbf2
to
9e04029
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.
/lgtm
Extend the podresources API implementing the GetAllocatableResources endpoint, as specified in the KEPs: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments kubernetes/enhancements#2404 Signed-off-by: Francesco Romani <[email protected]>
Extend the podresources API implementing the GetAllocatableResources endpoint, as specified in the KEPs: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments kubernetes/enhancements#2404 Signed-off-by: Francesco Romani <[email protected]>
Extend the podresources API implementing the GetAllocatableResources endpoint, as specified in the KEPs: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments kubernetes/enhancements#2404 Signed-off-by: Francesco Romani <[email protected]>
Extend the podresources API implementing the GetAllocatableResources endpoint, as specified in the KEPs: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments kubernetes/enhancements#2404 Signed-off-by: Francesco Romani <[email protected]>
Extend the podresources API implementing the GetAllocatableResources endpoint, as specified in the KEPs: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments kubernetes/enhancements#2404 Signed-off-by: Francesco Romani <[email protected]>
In order to simplify and make more understandable the KEP, and
to comply with the new process, we extract the unit of work still
ongoing in this KEP from #1884
Work in this area was done during the 1.20 and 1.21 cycles in
kubernetes/kubernetes#95734
Rationale, discussion and documentation for all the changes including
the one proposed in this KEP have been described in
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2043-pod-resource-concrete-assigments
and reported here were relevant
Signed-off-by: Francesco Romani [email protected]