Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

离线安装时,设置namespaceoverride: "kubesphereio"不生效 #2290

Open
yisampi opened this issue Jul 31, 2024 · 1 comment
Open

离线安装时,设置namespaceoverride: "kubesphereio"不生效 #2290

yisampi opened this issue Jul 31, 2024 · 1 comment

Comments

@yisampi
Copy link

yisampi commented Jul 31, 2024

离线安装kubernetes和kubesphere,
设置了namespaceoverride: "kubesphereio",也执行了kubectl -n kubesphere-system edit cc ks-installer
但还是不起作用

apiVersion: installer.kubesphere.io/v1alpha1
kind: ClusterConfiguration
metadata:
name: ks-installer
namespace: kubesphere-system
labels:
version: v3.4.1
spec:
persistence:
storageClass: ""
authentication:
jwtSecret: ""
local_registry: "harbor-kk.ai-lingsuan.com"
namespaceoverride: "kubesphereio"

错误显示如下
kube-system snapshot-controller-0 0/1 ImagePullBackOff 0 15m
kubesphere-controls-system default-http-backend-6f5d88f56-lbcff 0/1 ImagePullBackOff 0 13m
kubesphere-monitoring-system kube-state-metrics-6d6b5b4ff8-94j8f 0/3 ImagePullBackOff 0 12m
kubesphere-monitoring-system node-exporter-xdhnq 0/2 ImagePullBackOff 0 12m
kubesphere-monitoring-system notification-manager-operator-5c78bbbd64-9r4q2 0/2 ImagePullBackOff 0 11m
kubesphere-monitoring-system notification-manager-post-install-46s5q 0/1 ImagePullBackOff 0 69s
kubesphere-monitoring-system prometheus-operator-74bcc557cf-mpncz 0/2 ImagePullBackOff 0 12m
kubesphere-system ks-apiserver-7698c9cd6f-g4k8r 0/1 ContainerCreating 0 13m
kubesphere-system ks-console-749c67d74d-q6bf6 0/1 ImagePullBackOff 0 13m
kubesphere-system ks-controller-manager-85cf9c98c5-4rspw 0/1 ContainerCreating 0 13m

Normal Scheduled 19m default-scheduler Successfully assigned kube-system/snapshot-controller-0 to dc03-h100-213
Normal SandboxChanged 19m (x4 over 19m) kubelet Pod sandbox changed, it will be killed and re-created.
Warning Failed 18m (x6 over 19m) kubelet Error: ImagePullBackOff
Normal Pulling 18m (x3 over 19m) kubelet Pulling image "harbor-kk.ai-lingsuan.com/csiplugin/snapshot-controller:v4.0.0"
Warning Failed 18m (x3 over 19m) kubelet Failed to pull image "harbor-kk.ai-lingsuan.com/csiplugin/snapshot-controller:v4.0.0": rpc error: code = Unknown desc = Error response from daemon: unknown: repository csiplugin/snapshot-controller not found
Warning Failed 18m (x3 over 19m) kubelet Error: ErrImagePull
Normal BackOff 4m10s (x67 over 19m) kubelet Back-off pulling image "harbor-kk.ai-lingsuan.com/csiplugin/snapshot-controller:v4.0.0"

@upczsh
Copy link

upczsh commented Aug 14, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants