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

In-Tree to CSI Migration logic for PersistentVolume Attach/Detach #1

Merged
merged 2 commits into from
Oct 23, 2018

Conversation

davidz627
Copy link
Owner

[THIS IS JUST A MERGE INTO THE FEATURE BRANCH feature/CSIMigration]

What this PR does / why we need it:

This PR "sets the stage" for in-tree to CSI Migration. It introduces the main feature flag, as well as the GCE PD Specific feature flag, the IsMigrated() Plugin interface method, as well as an implementation of the Migration for Attach/Detach for PersistentVolumes only.

This PR has been validated by turning on migration (through flags), deploying the GCE Driver (with a modified external attacher: xref kubernetes-csi/external-attacher#78), and running all the in-tree GCE PD tests and validating that the CSI driver is receiving and reacting to the attach/detach calls and that the in-tree driver is standing down for Attach/Detach.

Feature tracking issue: kubernetes/enhancements#625

/sig storage
/kind feature
/assign @jsafrane @ddebroy
/cc @msau42 @leakingtapan

Commits have been seperated out as:

Godep import of migration library
Plugin isMigratable change and boilerplate code
Feature flags and Attach/Detach migration logic

NONE

@jsafrane
Copy link

lgtm-ish, can you please squash the last commit?

@davidz627 davidz627 force-pushed the feature/csiTranslationMigration branch from 62e8a71 to b85bc9a Compare October 23, 2018 22:20
@davidz627
Copy link
Owner Author

@jsafrane squashed, will merge now

@davidz627 davidz627 merged commit 1324be0 into feature/CSIMigration Oct 23, 2018
davidz627 pushed a commit that referenced this pull request Jan 7, 2019
update from kubernetes master
davidz627 pushed a commit that referenced this pull request Feb 12, 2019
update from base repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants