You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
karmada-controller-manager pod crash.
The log :
E0510 09:58:40.249520 1 kind.go:63] "controller-runtime/source/EventHandler: if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"WorkloadRebalancer\" in version \"apps.karmada.io/v1alpha1\"" kind="WorkloadRebalancer.apps.karmada.io"
E0510 09:58:46.645722 1 controller.go:203] "Could not wait for Cache to sync" err="failed to wait for workload-rebalancer caches to sync: timed out waiting for cache to be synced for Kind *v1alpha1.WorkloadRebalancer" controller="workload-rebalancer" controllerGroup="apps.karmada.io" controllerKind="WorkloadRebalancer"
In 1.9.1 There isn't WorkloadRebalancer CRD.
What you expected to happen:
Should be running How to reproduce it (as minimally and precisely as possible):
Install by helm Anything else we need to know?:
Environment:
Karmada version: v1.9.1
kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
Others:
The text was updated successfully, but these errors were encountered:
Hi @Patrick0308, I installed Karmada v1.9.1 by following steps, and didn't encounter such problems.
VERSION=v1.9.1
CHARTDIR=/directory/to/your/chart
# 1. clean old Kind clusters
kind delete clusters karmada-host member1 member2 member3
rm -rf ~/.karmada ~/.kube/karmada*config /etc/karmada
# 2. create karmada-host cluster by Kind
hack/create-cluster.sh karmada-host ~/.kube/karmada-host.config
# 3. get host network ip (node ip) from kube-apiserver, and then add this ip to values.yaml as SAN of certificateexport KUBECONFIG=~/.kube/karmada-host.config
HOST_IP=$(kubectl get ep kubernetes -o jsonpath='{.subsets[0].addresses[0].ip}')
sed -i'' -e "/localhost/{n;s/ \"127.0.0.1/ \"${HOST_IP}\",\n&/g}"${CHARTDIR}/values.yaml
# 4. install karmada in host cluster by helm
helm install karmada -n karmada-system \
--kubeconfig ~/.kube/karmada-host.config \
--create-namespace \
--dependency-update \
--set apiServer.hostNetwork=true \
${CHARTDIR}
The workload-rebalancer CRDs is introduced after v.1.10 version, it shouldn't appear in v1.9.1 version controller-manager images, are you sure you are using v1.9.1 version image? And can you compare my steps to yours to check which step may be problematic?
What happened:
karmada-controller-manager pod crash.
The log :
In 1.9.1 There isn't WorkloadRebalancer CRD.
What you expected to happen:
Should be running
How to reproduce it (as minimally and precisely as possible):
Install by helm
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: