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

CSI Cluster Registration Mechanism #594

Closed
saad-ali opened this issue Jul 27, 2018 · 26 comments · Fixed by kubernetes/kubernetes#67803
Closed

CSI Cluster Registration Mechanism #594

saad-ali opened this issue Jul 27, 2018 · 26 comments · Fixed by kubernetes/kubernetes#67803
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. sig/storage Categorizes an issue or PR as relevant to SIG Storage. stage/beta Denotes an issue tracking an enhancement targeted for Beta status tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team

Comments

@saad-ali
Copy link
Member

saad-ali commented Jul 27, 2018

Feature Description

  • One-line feature description (can be used as a release note): Introduce the ability for a CSI driver (optionally) to register it self with the Kubernetes API to:
    • Make it easy for end users to discover CSI drivers installed on their cluster.
    • Allow CSI drivers to customize how Kubernetes interacts with them (e.g. skip attach operation, etc.)
  • Primary contact (assignee): @saad-ali, @jsafrane
  • Responsible SIGs: /sig storage
  • Design proposal link (community repo): New: CSI Cluster Registration Mechanism #594 Old: Google doc
  • Link to e2e and/or unit tests:
  • Reviewer(s) - (for LGTM) recommend having 2+ reviewers (at least one from code-area OWNERS file) agreed to review. Reviewers from multiple companies preferred: @thockin
  • Approver (likely from SIG/area to which feature belongs): @thockin
  • Feature target (which target equals to which milestone):
    • Alpha release target (x.y): 1.12
    • Beta release target (x.y): 1.14
    • Stable release target (x.y): 1.15
@saad-ali saad-ali added this to the v1.12 milestone Jul 27, 2018
@saad-ali saad-ali added stage/alpha Denotes an issue tracking an enhancement targeted for Alpha status sig/storage Categorizes an issue or PR as relevant to SIG Storage. kind/feature Categorizes issue or PR as related to a new feature. labels Jul 27, 2018
@justaugustus
Copy link
Member

Thanks for the update! This has been added to the 1.12 Tracking sheet.

/assign @saad-ali @jsafrane

@zparnold
Copy link
Member

Hey there! @saad-ali I'm the wrangler for the Docs this release. Is there any chance I could have you open up a docs PR against the release-1.12 branch as a placeholder? That gives us more confidence in the feature shipping in this release and gives me something to work with when we start doing reviews/edits. Thanks! If this feature does not require docs, could you please update the features tracking spreadsheet to reflect it?

sttts pushed a commit to sttts/csi-api that referenced this issue Sep 4, 2018
Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

CSI Cluster Registry and Node Info CRDs

**What this PR does / why we need it**:
Introduces the new `CSIDriver` and `CSINodeInfo` API Object as proposed in kubernetes/community#2514 and kubernetes/community#2034

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes kubernetes/enhancements#594

**Special notes for your reviewer**:
Per the discussion in https://groups.google.com/d/msg/kubernetes-sig-storage-wg-csi/x5CchIP9qiI/D_TyOrn2CwAJ the API is being added to the staging directory of the `kubernetes/kubernetes` repo because the consumers will be attach/detach controller and possibly kubelet, but it will be installed as a CRD (because we want to move in the direction where the API server is Kubernetes agnostic, and all Kubernetes specific types are installed).

**Release note**:

```release-note
Introduce CSI Cluster Registration mechanism to ease CSI plugin discovery and allow CSI drivers to customize Kubernetes' interaction with them.
```

CC @jsafrane

Kubernetes-commit: 85300f4f5dd7b0bd36d0538fb6c3255c06d5e6c2
k8s-publishing-bot added a commit to kubernetes-retired/csi-api that referenced this issue Sep 4, 2018
Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

CSI Cluster Registry and Node Info CRDs

**What this PR does / why we need it**:
Introduces the new `CSIDriver` and `CSINodeInfo` API Object as proposed in kubernetes/community#2514 and kubernetes/community#2034

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes kubernetes/enhancements#594

**Special notes for your reviewer**:
Per the discussion in https://groups.google.com/d/msg/kubernetes-sig-storage-wg-csi/x5CchIP9qiI/D_TyOrn2CwAJ the API is being added to the staging directory of the `kubernetes/kubernetes` repo because the consumers will be attach/detach controller and possibly kubelet, but it will be installed as a CRD (because we want to move in the direction where the API server is Kubernetes agnostic, and all Kubernetes specific types are installed).

**Release note**:

```release-note
Introduce CSI Cluster Registration mechanism to ease CSI plugin discovery and allow CSI drivers to customize Kubernetes' interaction with them.
```

CC @jsafrane

Kubernetes-commit: 85300f4f5dd7b0bd36d0538fb6c3255c06d5e6c2
@saad-ali saad-ali reopened this Sep 7, 2018
@saad-ali
Copy link
Member Author

saad-ali commented Sep 7, 2018

These objects and registry are designed for CSI drivers authors. No documentation changes needed on kubernetes/website. Changes will be added to kubernetes-csi

@claurence
Copy link

Kubernetes 1.13 is going to be a 'stable' release since the cycle is only 10 weeks. We encourage no big alpha features and only consider adding this feature if you have a high level of confidence it will make code slush by 11/09. Are there plans for this enhancement to graduate to alpha/beta/stable within the 1.13 release cycle? If not, can you please remove it from the 1.12 milestone or add it to 1.13?

We are also now encouraging that every new enhancement aligns with a KEP. If a KEP has been created, please link to it in the original post. Please take the opportunity to develop a KEP

@kacole2
Copy link
Contributor

kacole2 commented Oct 8, 2018

@saad-ali, @jsafrane just checking in from @claurence's post to see if this should be included for tracking. thanks!

@kacole2 kacole2 added tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team and removed tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels Oct 8, 2018
@kacole2
Copy link
Contributor

kacole2 commented Oct 15, 2018

/milestone v1.13

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.12, v1.13 Oct 15, 2018
@kacole2 kacole2 added tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team and removed tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team labels Oct 15, 2018
@saad-ali saad-ali added stage/beta Denotes an issue tracking an enhancement targeted for Beta status and removed stage/alpha Denotes an issue tracking an enhancement targeted for Alpha status labels Oct 24, 2018
@kacole2
Copy link
Contributor

kacole2 commented Oct 24, 2018

thanks for the updates @saad-ali

@claurence
Copy link

@saad-ali - Is there any work needed left to make this feature beta for 1.13? As an FYI Code slush is 11/9 and Code freeze is 11/15

@kacole2
Copy link
Contributor

kacole2 commented Nov 7, 2018

@jsafrane are there any PRs we should be tracking as we approach slush? kubernetes/kubernetes#69462 and any others?

@AishSundar
Copy link

@jsafrane We are fast approaching Code freeze for 1.13 (11/6). I see kubernetes/kubernetes#69462 is still in active review. I also see atleast 3 more PRs referenced in kubernetes/kubernetes#69462? Are you confident of wrangling this by Wednesday this week giving us a couple of days to watch CI? If not please work with the release team to move this out to 1.14 sooner than later. thanks.

@kacole2
Copy link
Contributor

kacole2 commented Nov 13, 2018

@jsafrane @hoegaarden @vladimirvivien There hasn't been any progress on kubernetes/kubernetes#69462 in a long time. Should we punt this out to 1.14?

@msau42
Copy link
Member

msau42 commented Nov 14, 2018

PR to add a CRD installation mechanism: kubernetes/kubernetes#70780

I just discussed with @saad-ali and @davidz627 and we decided we're going to keep this feature in alpha for this release. We want to focus on CSI GA instead.

@msau42
Copy link
Member

msau42 commented Nov 14, 2018

These are the tasks we need to do to go to beta:

@AishSundar
Copy link

@kacole2 to move this out of 1.13 for Beta. Thanks

@AishSundar
Copy link

@tfogo, @marpaia and @kbarnard10 to remove it from their updates respectively

@kacole2
Copy link
Contributor

kacole2 commented Nov 14, 2018

/milestone clear

@k8s-ci-robot k8s-ci-robot removed this from the v1.13 milestone Nov 14, 2018
@kacole2 kacole2 added tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team and removed tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels Nov 14, 2018
@claurence
Copy link

@saad-ali @jsafrane Hello - I’m the enhancement’s lead for 1.14 and I’m checking in on this issue to see what work (if any) is being planned for the 1.14 release. Enhancements freeze is Jan 29th and I want to remind that all enhancements must have a KEP

@jsafrane
Copy link
Member

@claurence, yes, we plan to move it to GA.

@claurence
Copy link

Thanks @jsafrane - any open PRs for this issue that we should track on the sheet?

@claurence claurence added this to the v1.14 milestone Jan 22, 2019
@claurence claurence added tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team and removed tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team labels Jan 22, 2019
@claurence
Copy link

@jsafrane great - do y'all have a KEP for this issue? We want all issues to have a KEP by enhancements freeze. Also are there any PRs we should track?

@claurence
Copy link

@jsafrane checking on a KEP for this issue - is there a PR open for a KEP?

@msau42
Copy link
Member

msau42 commented Jan 30, 2019

I discussed with @saad-ali and I don't think this needs to be a separate issue. This is defining a CRD that is used by two features:

The actual CRD installation mechanism is tracked by: #615

@spiffxp
Copy link
Member

spiffxp commented Feb 5, 2019

/milestone clear

@k8s-ci-robot k8s-ci-robot removed this from the v1.14 milestone Feb 5, 2019
@kacole2 kacole2 added tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team and removed tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. sig/storage Categorizes an issue or PR as relevant to SIG Storage. stage/beta Denotes an issue tracking an enhancement targeted for Beta status tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team
Projects
None yet
10 participants