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.
The
genericcontrolplane
package should be able to be imported and used as a standalone API server without having to buy into multi-cluster concepts fromkcp
. 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.