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

Move StorageClass to a storage group #31886

Merged
merged 2 commits into from
Sep 7, 2016

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Sep 1, 2016

We discussed the pros and cons in sig-api-machinery yesterday. Choosing a particular group name means that clients (including our internal code) require less work and re-swizzling to handle promotions between versions. Even if you choose a group you end up not liking, the amount of work remains the same as the incubator work case: you move the affected kind, resource, and storage.

This moves the StorageClass type to the storage.k8s.io group (named for consistency with authentication, authorization, rbac, and imagepolicy). There are two commits, one for manaul changes and one for generated code.


This change is Reviewable

@k8s-bot
Copy link

k8s-bot commented Sep 1, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

1 similar comment
@k8s-bot
Copy link

k8s-bot commented Sep 1, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

@deads2k
Copy link
Contributor Author

deads2k commented Sep 1, 2016

@k8s-bot test this: issue #28285

@k8s-github-robot k8s-github-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/new-api size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 1, 2016
@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 1, 2016
@deads2k deads2k force-pushed the move-storage-class branch 2 times, most recently from 32a1770 to 66d10a2 Compare September 1, 2016 18:59
@thockin
Copy link
Member

thockin commented Sep 2, 2016

Given the state of the 1.4 release can we really justify this move? I am fine with it FOR THIS CASE, though I really do want to get some consensus on the more complex case of adding a beta type in a non-beta group, vs a catch-all incubator group.

@pwittrock

@bgrant0607 FYI

@deads2k deads2k added this to the v1.4 milestone Sep 2, 2016
@deads2k
Copy link
Contributor Author

deads2k commented Sep 2, 2016

@lavalamp @thockin @pmorie @kubernetes/sig-storage I've gotten all the bits re-swizzled to move StorageClass to a storage group. I'd really like to get this in 1.4 so that we can do a straight move instead of a migration. ptal.

@wattsteve
Copy link
Contributor

To the best of my knowledge, this change is completely blind-siding @kubernetes/sig-storage. I would have liked to have seen (or if there was one, been made aware of) a proposal for this change. I'd like the storage SIG to have an opportunity to discuss/review this before there are any plans of merging this PR

@deads2k
Copy link
Contributor Author

deads2k commented Sep 2, 2016

To the best of my knowledge, this change is completely blind-siding @kubernetes/sig-storage. I would have liked to have seen (or if there was one, been made aware of) a proposal for this change.

Sorry, it was discussed here #29694 (comment) (original pull) and here #31521 (issue opened) with tags for the original author and the active reviewers on that pull for the types.

@thockin
Copy link
Member

thockin commented Sep 2, 2016

Steve, That's reasonable, though I don't expect any concern - it's purely
about naming.

On Fri, Sep 2, 2016 at 8:09 AM, Steve Watt notifications@github.com wrote:

To the best of my knowledge, this change is completely blind-siding
@kubernetes/sig-storage
https://github.com/orgs/kubernetes/teams/sig-storage. I would have
liked to have seen (or if there was one, been made aware of) a proposal for
this change. I'd like the storage SIG to have an opportunity to
discuss/review this before there are any plans of merging this PR


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#31886 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVPkhFHLArRbX4zgP7BmRwMGCJp_9ks5qmDwmgaJpZM4Jy09z
.

@rootfs
Copy link
Contributor

rootfs commented Sep 2, 2016

@wattsteve
Copy link
Contributor

I think naming is important. These terms we choose carry a lot of context with them. It takes time for these terms and the context behind them to diffuse within our community and users. I'm sensitive about Storage Classes specifically because its not particularly well understood yet.

The Storage SIG has started thinking about naming (we discussed this at the Storage F2F) and one of the outcomes has been #30474. I think @jingxu97 hasn't seen much activity on that yet, because its lower priority than closing out Kube 1.4

@wattsteve
Copy link
Contributor

OK folks, I'm reverting my objections. For reference, I misinterpreted this PR as renaming the StorageClass API Object, which is not what is being proposed.

@smarterclayton
Copy link
Contributor

Change matches my expectations of the original discussion

@smarterclayton
Copy link
Contributor

So the release justification for 1.4 is that this is a net new resource (no broken backwards users) and this is a signature 1.4 feature that we want to ensure reduces significant long term maintenance costs on. So even though this increases 1.4 risk, it is our last chance to avoid significant future work.

@smarterclayton
Copy link
Contributor

@pwittrock FYI for release process and exception process. I don't have the handy list of the exception questions so I tried to handle them above.

@childsb
Copy link
Contributor

childsb commented Sep 2, 2016

+1 to this refactor for 1.4

@caesarxuchao caesarxuchao added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 6, 2016
@k8s-github-robot k8s-github-robot added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Sep 6, 2016
@deads2k deads2k added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. release-note-label-needed labels Sep 6, 2016
@deads2k
Copy link
Contributor Author

deads2k commented Sep 6, 2016

@pmorie can you walk me through/send me a link to any special process I need to follow for 1.4 picks?

@pmorie
Copy link
Member

pmorie commented Sep 6, 2016

@deads2k I'll walk you through in meatspace if you need it, cherry-pick doc is at: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/cherry-picks.md

@lavalamp
Copy link
Member

lavalamp commented Sep 6, 2016

You don't need anything special if this merges before we do a fast-forward.

@k8s-bot
Copy link

k8s-bot commented Sep 6, 2016

GCE e2e build/test passed for commit 6320dc6.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Sep 7, 2016

GCE e2e build/test passed for commit 6320dc6.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@wojtek-t
Copy link
Member

wojtek-t commented Sep 7, 2016

This PR broke gke-slow suite, concretely this test:
#32185

@k8s-oncall - FYI

@pwittrock pwittrock added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. and removed cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. labels Sep 7, 2016
@pwittrock
Copy link
Member

@smarterclayton @lavalamp Can you make sure the test break gets resolved. I do not plan to cherrypick this until then.

@eparis
Copy link
Contributor

eparis commented Sep 7, 2016

The test break was 'fixed' in #32199
So these can/should be picked together. Once GKE is fixed we can decide if we want to pick #32200

@pwittrock
Copy link
Member

@eparis Thanks

@j3ffml
Copy link
Contributor

j3ffml commented Sep 8, 2016

Actually, @pwittrock, there's a chicken and egg problem here. Until this api group exists in 1.4, we can't cleanly turn it on in GKE. This change needs to be cherrypicked first.

@pwittrock
Copy link
Member

@jlowdermilk This will be cherrypicked into 1.4 shortly.

@foxish foxish added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Sep 8, 2016
foxish added a commit that referenced this pull request Sep 9, 2016
…31886-upstream-release-1.4

Automated cherry pick of #31886
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.4" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

@wongma7 wongma7 mentioned this pull request Sep 12, 2016
shyamjvs pushed a commit to shyamjvs/kubernetes that referenced this pull request Dec 1, 2016
…-pick-of-#31886-upstream-release-1.4

Automated cherry pick of kubernetes#31886
@deads2k deads2k deleted the move-storage-class branch February 1, 2017 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.