-
Notifications
You must be signed in to change notification settings - Fork 821
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What is version of KubeKey has the issue?
v4.0.3
What is your os environment?
Ubuntu 24.04 / Kubernetes 1.35
KubeKey config file
A clear and concise description of what happend.
An ImagePullBackOff error occurs when applying infrastructure-components.yaml.
This manifest specifies docker.io/kubespheredev/capkk-controller-manager (:latest) as the image, but the correct specification should be docker.io/kubesphere/capkk-controller-manager:v4.0.3.
The issue likely stems from using the incorrect variable $tag instead of $TAG when executing make generate during the Upload Extra File step in the BuildReleaser Workflow, resulting in this erroneous manifest being generated.
kubekey/.github/workflows/releaser.yaml
Lines 45 to 50 in 7fee91a
| TAG=${{ steps.prepare.outputs.version }} | |
| if [[ $tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | |
| REGISTRY=docker.io/kubesphere TAG=$tag make generate | |
| else | |
| REGISTRY=docker.io/kubespheredev TAG=$tag make generate | |
| fi |
Relevant log output
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulling 51m (x5 over 54m) kubelet Pulling image "docker.io/kubespheredev/capkk-controller-manager"
Warning Failed 51m (x5 over 54m) kubelet Failed to pull image "docker.io/kubespheredev/capkk-controller-manager": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/kubespheredev/capkk-controller-manager:latest": failed to resolve reference "docker.io/kubespheredev/capkk-controller-manager:latest": docker.io/kubespheredev/capkk-controller-manager:latest: not found
Warning Failed 51m (x5 over 54m) kubelet Error: ErrImagePull
Normal BackOff 4m17s (x222 over 54m) kubelet Back-off pulling image "docker.io/kubespheredev/capkk-controller-manager"
Warning Failed 4m17s (x222 over 54m) kubelet Error: ImagePullBackOffAdditional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working