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

KEP-3162: Add Deallocate and PostStopContainer to Device Manager API #3080

Closed
wants to merge 3 commits into from

Conversation

zvonkok
Copy link

@zvonkok zvonkok commented Dec 7, 2021

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 7, 2021
@k8s-ci-robot
Copy link
Contributor

Welcome @zvonkok!

It looks like this is your first PR to kubernetes/enhancements 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/enhancements has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 7, 2021
@k8s-ci-robot
Copy link
Contributor

Hi @zvonkok. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Dec 7, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zvonkok
To complete the pull request process, please assign derekwaynecarr, ehashman after the PR has been reviewed.
You can assign the PR to them by writing /assign @derekwaynecarr @ehashman in a comment when ready.

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 sig/node Categorizes an issue or PR as relevant to SIG Node. label Dec 7, 2021
@zvonkok zvonkok changed the title KEP-1948: Add Deallocate and PostStopContainer to Device Manager API WIP KEP-1948: Add Deallocate and PostStopContainer to Device Manager API Dec 7, 2021
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 7, 2021
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 7, 2021
@klueska
Copy link
Contributor

klueska commented Dec 7, 2021

/cc klueska

@k8s-ci-robot k8s-ci-robot requested a review from klueska December 7, 2021 11:37
@klueska
Copy link
Contributor

klueska commented Dec 7, 2021

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 7, 2021
@zvonkok zvonkok changed the title WIP KEP-1948: Add Deallocate and PostStopContainer to Device Manager API KEP-1948: Add Deallocate and PostStopContainer to Device Manager API Dec 8, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 8, 2021
@zvonkok
Copy link
Author

zvonkok commented Dec 8, 2021

@fujitatomoya Do you want to share any use-cases from your side? I just want to make sure that we're not missing "anything".
I could create a dedicated "Use Cases" section if needed.

@zvonkok
Copy link
Author

zvonkok commented Dec 8, 2021

Added Use Cases section with the comments from @kad on kubernetes/kubernetes#59110 and the use-case from @sseetharaman6 from kubernetes/kubernetes#91190

@zvonkok zvonkok force-pushed the deallocate branch 3 times, most recently from d9cc41b to 9457d4f Compare December 8, 2021 16:48
@derekwaynecarr
Copy link
Member

I think we need to reach some consensus on this KEP and #3064 before proceeding forward on implementation.

@swatisehgal
Copy link
Contributor

/cc

@fujitatomoya
Copy link

@zvonkok are you still working on this? just checking.

@dchen1107 dchen1107 added this to the v1.25 milestone Jun 9, 2022
@zvonkok
Copy link
Author

zvonkok commented Jun 15, 2022

@dchen1107 Please remove this from 1.25 and plan it for 1.26, I am not able to do enough work, right now, to get this in the right shape.

@dchen1107 dchen1107 modified the milestones: v1.25, v1.26 Jun 23, 2022
@kikisdeliveryservice
Copy link
Member

@dchen1107 @klueska there was a question as to whether or not this replaces #1949

If so, let's close the other one. If you need help, lmk.

Thanks!

@swatisehgal
Copy link
Contributor

@dchen1107 Please remove this from 1.25 and plan it for 1.26, I am not able to do enough work, right now, to get this in the right shape.

@zvonkok Are you planning to work on this in 1.26 release? I would like to make sure that I am capturing the correct state of the device plugin API as part of Device Manager GA graduation planned for 1.26 release.

@fujitatomoya
Copy link

@zvonkok friendly ping.

@fujitatomoya
Copy link

@klueska asking advice how to proceed this PR. seems that @zvonkok is not responding more than a year. if we want to this PR, we should probably revise another PR from this?

@FengGaoCSC
Copy link

FengGaoCSC commented Mar 23, 2023

@johnbelamaric @zvonkok

friendly ping, How about the current status with this pull request.
that #3064 already merged

@bart0sh
Copy link
Contributor

bart0sh commented Jun 10, 2023

2All: Would it make sense to close this PR, considering that this functionality can be implemented by creating CDI file and providing CDI device id as an annotation to the Kubelet, or (after #118254 is merged) to return CDI device id in the Allocate response.

/cc @kad

@k8s-ci-robot k8s-ci-robot requested a review from kad June 10, 2023 11:18
@kad
Copy link
Member

kad commented Jun 11, 2023

IMHO, yes, if CDI support will be available for device plugins, the urgent need on those calls will disappear: the user stories of "cleaning up device state" would be handled by hooks on the CDI side. However, if there are some plugins that would like to clean-up some internal state related to allocations, then probably this KEP still makes sense to implement.

@fujitatomoya
Copy link

@bart0sh thanks for the heads-up, i will take a look at it!

@fujitatomoya
Copy link

IMHO, yes, if CDI support will be available for device plugins, the urgent need on those calls will disappear: the user stories of "cleaning up device state" would be handled by hooks on the CDI side.

@bart0sh as @kad mentioned above, having CDI support in DevicePlugin works for our use cases.

However, if there are some plugins that would like to clean-up some internal state related to allocations, then probably this KEP still makes sense to implement.

true, but i do not really think of the use cases for this requirement for now.

@elezar
Copy link
Contributor

elezar commented Oct 17, 2023

@zvonkok given that we are driving development of DRA, is this KEP still current? Should we close it instead?

@bart0sh
Copy link
Contributor

bart0sh commented Dec 9, 2023

Closing as CDI support for device plugins is in Beta now. Feel free to reopen if needed.
/close

@k8s-ci-robot
Copy link
Contributor

@bart0sh: Closed this PR.

In response to this:

Closing as CDI support for device plugins is in Beta now. Feel free to reopen if needed.
/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
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/node Categorizes an issue or PR as relevant to SIG Node. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.