I deployed guest kubernetes control plane pods in a host kubernetes cluster, including apiserver, controller-manager, scheduler and etcd, and exposed guest kubernetes api service through LB vip.
In the version prior to v1.27, there is a
--master-service-namespace flag. i can create a new service named kubernetes in another namespace, binding the LB vip endpoint, and the guest worker node can join the guest cluster and works well.
--master-service-namespace is deprecated, Is there any alternative way to solve this problem?
Cloud being used: (put bare-metal if not on a public cloud)
CNI and version:
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.