[BUG] [multi-cluster] Instance Controller Lacks Multi-Cluster Support — Pods/PVCs Not Created
Describe the bug
In a multi-cluster deployment with enableInstanceAPI: true, the InstanceSet controller v2 successfully creates Instance CRs on member clusters. But the Instance controller never creates Pods, PVCs, ConfigMaps, Secrets, or Services for those instances.
$ k -n mypg get its
NAME DESIRED UP-TO-DATE READY AVAILABLE AGE
mypg-postgresql 3 3 0 0 20h
$ k1 -n mypg get instance
NAME UP-TO-DATE READY AVAILABLE ROLE AGE
mypg-postgresql-0 4h25m
$ k1 -n mypg get pods
No resources found in mypg namespace.
To Reproduce Steps to reproduce the behavior:
- Set up a KubeBlocks multi-cluster environment with a control plane and 3 member clusters
- Create a Cluster/Component with
enableInstanceAPI: trueand multi-cluster placement annotation:annotations: apps.kubeblocks.io/multi-cluster-placement: kb-member-cluster1,kb-member-cluster2,kb-member-cluster3 - Observe that the InstanceSet status shows
replicas: 3, readyReplicas: 0, availableReplicas: 0 - Check the control plane logs — see "create Instance ... successful" events
- Check member clusters — Instance CRs exist but Pods/PVCs/ConfigMaps/Secrets are never created
Expected behavior Insance pods should be created on member clusters.
Desktop (please complete the following information):
- KubeBlocks Version:
main-d60dbe20-2026apr8(main branch) - Kubernetes: v1.32, multi-cluster setup
- Deployment Mode: Multi-cluster
Could you confirm whether KubeBlocks is also deployed on the member clusters? With enableInstanceAPI: true, the Instance CR is created on member clusters first, and the actual Pod/PVC creation is expected to be handled there.
Could you confirm whether KubeBlocks is also deployed on the member clusters? With enableInstanceAPI: true, the Instance CR is created on member clusters first, and the actual Pod/PVC creation is expected to be handled there.
No, I had assumed KubeBlocks didn't need to be installed on member clusters — only the Instance CRDs were present. So do you mean KubeBlocks operator must be deployed on both control and member clusters? And could you point me to the official multi-cluster design document and installation guide?
Could you confirm whether KubeBlocks is also deployed on the member clusters? With enableInstanceAPI: true, the Instance CR is created on member clusters first, and the actual Pod/PVC creation is expected to be handled there.
No, I had assumed KubeBlocks didn't need to be installed on member clusters — only the Instance CRDs were present. So do you mean KubeBlocks operator must be deployed on both control and member clusters? And could you point me to the official multi-cluster design document and installation guide?
Yes. For the current multi-cluster solution based on the Instance API, KubeBlocks is expected to be deployed on each participating Kubernetes cluster, including both the control cluster and the member clusters.
In this mode, the control cluster is responsible for orchestration and distributing Instance resources, while the member clusters are responsible for reconciling those Instance objects and creating the actual Pods/PVCs and other related resources locally.
For the design details, deployment model, and installation/documentation improvements, please follow up in https://github.com/apecloud/kubeblocks/issues/10129. We can continue the broader discussion there.
Could you confirm whether KubeBlocks is also deployed on the member clusters? With enableInstanceAPI: true, the Instance CR is created on member clusters first, and the actual Pod/PVC creation is expected to be handled there.
No, I had assumed KubeBlocks didn't need to be installed on member clusters — only the Instance CRDs were present. So do you mean KubeBlocks operator must be deployed on both control and member clusters? And could you point me to the official multi-cluster design document and installation guide?
Yes. For the current multi-cluster solution based on the Instance API, KubeBlocks is expected to be deployed on each participating Kubernetes cluster, including both the control cluster and the member clusters.
In this mode, the control cluster is responsible for orchestration and distributing Instance resources, while the member clusters are responsible for reconciling those Instance objects and creating the actual Pods/PVCs and other related resources locally.
For the design details, deployment model, and installation/documentation improvements, please follow up in #10129. We can continue the broader discussion there.
OK. I will deploy kubeblocks on member clusters and test again.
This issue has been marked as stale because it has been open for 30 days with no activity