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

kubernetes/genericcontrolplane: factor out multi-cluster concepts #339

Closed stevekuznetsov closed 7 months ago

stevekuznetsov commented 2 years ago

The genericcontrolplane package should be able to be imported and used as a standalone API server without having to buy into multi-cluster concepts from kcp. Right now the loopback client is decorated with the multi-cluster round-tripper, but ultimately this comes down to how we might make the controllers that are started in post-start hooks in k8s using this context multi-cluster aware without making it visible.

imjasonh commented 2 years ago

@fabianvf