rainbond控制中心添加集群
加入一个kylin v10系统的k8s单节点集群
k8s版本是v1.25.6
容器运行时docker 23.0.3
执行helm部署命令后其他容器能正常启动 但是
rbd-chaos的运行状态如下:
rbd-system rbd-chaos-pmmh2 0/1 CrashLoopBackOff 15 (4m31s ago) 64m
日志信息如下:
[root@master1 ~]# kubectl logs rbd-chaos-pmmh2 -n rbd-system
time=“2025-02-12T13:15:29+08:00” level=info msg=“start db client…”
time=“2025-02-12T13:15:29+08:00” level=info msg=“db manager initialization starting…”
time=“2025-02-12T13:15:29+08:00” level=info msg=“mysql db driver create”
time=“2025-02-12T13:15:29+08:00” level=info msg=“数据库连接成功”
time=“2025-02-12T13:15:29+08:00” level=info msg=“db init success”
time=“2025-02-12T13:15:29+08:00” level=info msg=“register table model”
time=“2025-02-12T13:15:29+08:00” level=info msg=“check table”
time=“2025-02-12T13:15:30+08:00” level=info msg=“db manager is ready”
time=“2025-02-12T13:15:30+08:00” level=info msg=“discover app runtime sync server address rbd-worker:6535”
time=“2025-02-12T13:15:30+08:00” level=info msg=“init event…”
time=“2025-02-12T13:15:30+08:00” level=info msg=“init event manager success”
time=“2025-02-12T13:15:30+08:00” level=info msg=“init k8s client…”
time=“2025-02-12T13:15:30+08:00” level=info msg=“api database initialization starting…”
time=“2025-02-12T13:15:30+08:00” level=info msg=“start a event log handle core. connect server rbd-api-api-inner:6366”
time=“2025-02-12T13:15:30+08:00” level=info msg=“api database initialization success!”
time=“2025-02-12T13:15:30+08:00” level=info msg=“init k8s client success”
time=“2025-02-12T13:15:30+08:00” level=info msg=“create s3 client s3,—-admin,—-admin1234”
time=“2025-02-12T13:15:30+08:00” level=info msg=“start prometheus”
time=“2025-02-12T13:15:30+08:00” level=info msg=“create container client runtime containerd endpoint /run/containerd/containerd.sock”
I0212 13:15:30.676921 7 util_unix.go:104] “Using this endpoint is deprecated, please consider using full URL format” endpoint=“/run/containerd/containerd.sock” URL=“unix:///run/containerd/containerd.sock”
time=“2025-02-12T13:15:30+08:00” level=info msg=“create hub client success”
panic: connect: connect endpoint ‘/run/containerd/containerd.sock’, make sure you are running as root and the endpoint has been started: context deadline exceeded
goroutine 1 [running]:
github.com/goodrain/rainbond/pkg/rainbond.(*Rainbond).Registry(0×4000995d40, {0×4e9d970, 0×498a180})
/go/src/github.com/goodrain/rainbond/pkg/rainbond/registry.go:63 +0xfc
main.main()
/go/src/github.com/goodrain/rainbond/cmd/builder/builder.go:52 +0×6d0