kcp-dev / kcp

Kubernetes-like control planes for form-factors and use-cases beyond Kubernetes and container workloads.
https://kcp.io
Apache License 2.0
2.35k stars 381 forks source link

feature: Build Tooling To Automatically Migrate Users to Cluster-Aware Clients #1944

Closed stevekuznetsov closed 7 months ago

stevekuznetsov commented 2 years ago

Feature Description

When we merge in the cluster-aware clients from https://github.com/kcp-dev/kcp/issues/1943 , we're going to incur a huge refactoring cost. Furthermore, when any controller author attempts to migrate their single-cluster-context controller or program to kcp, they will incur the same cost. This can be done programatically and should be automated.

Proposed Solution

As an author of a pre-existing controller in a single-cluster-context I want to migrate to using cluster-aware clients using a tool, without manual refactoring So that my onboarding onto kcp is seamless and easy.

Alternative Solutions

No response

Want to contribute?

Additional Context

No response

stevekuznetsov commented 2 years ago

https://github.com/kcp-dev/code-generator/pull/53

ncdc commented 1 year ago

I don't believe this is a blocker for v0.10; moving to v0.11

ncdc commented 1 year ago

/milestone clear