-
Notifications
You must be signed in to change notification settings - Fork 30
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
WIP: cross-namespace snapshot populator for csi-hostpath driver #31
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mkimuram 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 |
Hi @mkimuram. Thanks for your PR. I'm waiting for a kubernetes-csi 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. |
@bswartz @xing-yang @Elbehery As I implemented this PR, I noticed below three points:
I've create another issues for (2) in this repo, and let's continue discussion related to (1) and (3) on cross-namespace snapshot KEP (but any comments on this PR are still welcome). |
@mkimuram I've read through most of this patch, and it's difficult to understand everything its doing. My first complaint is that this repo shouldn't be used for any actual populators. I understand this is a WIP and it's easier to try out something new inside the repo, but the understanding should be that we'll eventually put the actual code somwhere else. I'm still trying to understand why we need to patch the pod. It could be that the current library interface isn't flexible enough (in fact I strongly suspect that) but I need specific use cases to understand how we can improve it. What were you trying to do that you couldn't achieve with the existing interface? |
@bswartz Thank you for checking the codes and giving feedback.
This PR is just to share the idea, so the codes won't be necessary in this repo. I agree that we need another new repo if we implement this way.
For this particular use case, this populator is trying to:
So, it needs to mount volumes and to add extra RBAC, therefore it needs to modify the populator Pod's spec. These requirements won't be special, because if we try to implement a simple populator that copies data from |
@mkimuram: 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. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and 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 issues and PRs. This bot triages issues and 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/test-infra repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This is an example implementation for "provisioning volumes from cross-namespace snapshots" KEP by using populator approach. lib-volume-populator needs more adaption for GA and this use case will be a good candidate.
Which issue(s) this PR fixes:
Fixes #30
Special notes for your reviewer:
@bswartz @xing-yang @Elbehery
Does this PR introduce a user-facing change?: