karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.29k stars 840 forks source link

karmada controller and scheduler status always CrashLoopBackOff #5157

Open ayewwww opened 3 weeks ago

ayewwww commented 3 weeks ago

What happened: 1 leaderelection.go:255] failed to acquire lease karmada-system/karmada-controller-manager image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

ayewwww commented 3 weeks ago

image

ayewwww commented 3 weeks ago

image

zhzhuang-zju commented 3 weeks ago

@ayewwww Looks like it crashed shortly after installing, maybe some resources are not initialized properly, can you describe how you installed Karmada?

chaosi-zju commented 3 weeks ago

hi, please use kubectl logs -f etcd-0 -n karmada-system to check the etcd log at that time, there should be some problem with etcd at that time, for example, the request processing exceeded 5 seconds.

ayewwww commented 3 weeks ago

@ayewwww看起来它在安装后不久就崩溃了,也许一些资源没有正确初始化,你能描述一下你是如何安装 Karmada 的吗? offline installation, command:kubectl karmada init --crds /$HOME/crds.tar.gz

ayewwww commented 3 weeks ago

hi, please use kubectl logs -f etcd-0 -n karmada-system to check the etcd log at that time, there should be some problem with etcd at that time, for example, the request processing exceeded 5 seconds.

image etcd appears to have no errors

ayewwww commented 3 weeks ago

@ayewwww看起来它在安装后不久就崩溃了,也许一些资源没有正确初始化,你能描述一下你是如何安装 Karmada 的吗? offline installation, command:kubectl karmada init --crds /$HOME/crds.tar.gz

image

chaosi-zju commented 3 weeks ago

Can you export full logs of controller、scheduler、etcd to files, and provide it to us?