Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Plan and document how to migrate clusters to some form of CRD #2059

Closed
carolynvs opened this issue May 21, 2018 · 5 comments
Closed

Plan and document how to migrate clusters to some form of CRD #2059

carolynvs opened this issue May 21, 2018 · 5 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Milestone

Comments

@carolynvs
Copy link
Contributor

Once we've figured out how to move forward towards CRDs, see #1088 and #987, we must plan and document how to migrate v1beta1 clusters to whatever we end up with.

@carolynvs carolynvs added this to the 1.0.0 milestone May 21, 2018
@MHBauer
Copy link
Contributor

MHBauer commented Jul 9, 2018

There's two CRD flows being conflated here:

  1. The existing issues are for CRD as a backing store, behind the existing APIServer, and requiring no changes in the controller code. The migration between these two stores wouldn't be done by our code, but by a separate tool.
  2. Native CRD model, would eliminate the need for the APIServer at all, and would mean that the Controller natively speaks CRD rather than our existing objects. I think we may need to provide code to do this, but I'm not sure it would be live, and probably best implemented as a one-time tool to switch the data formats.

Either way, I think this is best done by a separate tool, and noton startup of either apiserver or controller. (Idea: we hack the apiserver to run the tool, and not serve it's API, and the controller only ever speaks CRD after the cutover. This is provided for a few versions until the ability settles, with the tool always available)

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 24, 2019
@mszostok
Copy link
Contributor

work is done in: #2633

@MHBauer
Copy link
Contributor

MHBauer commented May 19, 2020

@mszostok
Copy link
Contributor

@MHBauer yep, there is also a new Preparation section which was added later when we noticed that some of our users were problems with migration because of the unhealthy cluster state.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

6 participants