创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
Ubuntu22.04,4C/8G
Kubernetes版本信息
多节点。
容器运行时
例如,使用 docker/containerd,版本多少
KubeSphere版本信息=3.4.1
离线安装在本地k8s上,拉取镜像到本地harbor,镜像放置到本地私有仓库hub.local/kubevsphere/下,不像安装安装脚本中多个镜像分别在不同的镜像仓库中,无法拉取也无法修改。比如/csiplugin/snapshot-controller:v4.0.0,而我把此镜像放置到kubesphere/snapshot-controller:v4.0.0.
执行以下命令安装后task multicluster status is successful (¾)报错了。
kubectl apply -f kubesphere-installer.yaml
kubectl apply -f cluster-configuration.yaml
log已经执行到
TASK [ks-core/prepare : KubeSphere | Generating kubeconfig-admin] **************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=25 changed=14 unreachable=0 failed=0 skipped=22 rescued=0 ignored=0
Start installing monitoring
Start installing multicluster
Start installing openpitrix
Start installing network
**************************************************
Waiting for all tasks to be completed …
task network status is successful (¼)
task openpitrix status is successful (2/4)
task multicluster status is successful (¾)
报错
查看k8s里pod拉取镜像 ImagePullBackOff
kube-system snapshot-controller-0 0/1 ImagePullBackOff 0 4m29s
kubesphere-controls-system default-http-backend-5fcf4d877c-vjxzm 0/1 ImagePullBackOff 0 73s
kubesphere-controls-system default-http-backend-7f76d6cb5-wstgd 1/1 Running 0 17h
kubesphere-controls-system kubectl-admin-9f7fc7c47-tvfrb 1/1 Running 0 17h
kubesphere-monitoring-system alertmanager-main-0 ½ ImagePullBackOff 0 19m
kubesphere-monitoring-system alertmanager-main-1 ½ ImagePullBackOff 0 19m
kubesphere-monitoring-system alertmanager-main-2 ½ ImagePullBackOff 0 13m
kubesphere-monitoring-system kube-state-metrics-75f5f64c7b-lhlcv 3/3 Running 0 43h
kubesphere-monitoring-system node-exporter-7ks66 2/2 Running 0 16h
kubesphere-monitoring-system node-exporter-qk48c 2/2 Running 0 16h
kubesphere-monitoring-system node-exporter-sjglq 2/2 Running 0 99m
kubesphere-monitoring-system node-exporter-vwpg4 2/2 Running 0 16h
kubesphere-monitoring-system node-exporter-xmrhs 2/2 Running 0 99m
kubesphere-monitoring-system node-exporter-zhthj 2/2 Running 0 98m
kubesphere-monitoring-system notification-manager-deployment-7c6bff666c-46jdb 2/2 Running 0 20m
kubesphere-monitoring-system notification-manager-deployment-7c6bff666c-7s4mt 2/2 Running 0 20m
kubesphere-monitoring-system notification-manager-operator-6f6b486878-nzbb5 2/2 Running 0 98m
kubesphere-monitoring-system prometheus-k8s-0 ½ ImagePullBackOff 0 18m
kubesphere-monitoring-system prometheus-k8s-1 ½ ImagePullBackOff 0 14m
kubesphere-monitoring-system prometheus-operator-6cf9589f58-6s7dv 2/2 Running 0 16h
kubesphere-system ks-apiserver-5ccccc75fb-ktg7l 1/1 Running 0 20m
kubesphere-system ks-apiserver-5ccccc75fb-vmfdz 1/1 Running 0 43h
kubesphere-system ks-apiserver-5ccccc75fb-zlp9t 1/1 Running 0 43h
kubesphere-system ks-console-66b7c9d76d-5hm8z 1/1 Running 0 20m
kubesphere-system ks-console-66b7c9d76d-6v4ct 1/1 Running 0 43h
kubesphere-system ks-console-66b7c9d76d-qgpgj 1/1 Running 0 43h
kubesphere-system ks-controller-manager-66999494c6-4ccfq 1/1 Running 0 43h
kubesphere-system ks-controller-manager-66999494c6-6wl5d 1/1 Running 0 43h
kubesphere-system ks-controller-manager-66999494c6-fkrq4 1/1 Running 0 24m
kubesphere-system ks-installer-6784446497-mtm8r 1/1 Running 0 43h
kubesphere-system redis-6b48585486-g8hxr 1/1 Running 0 43h
nfs-subdir-external-provisioner nfs-subdir-external-provisioner-c8c784667-8fm6n 1/1 Running 0 5d18h