Failed to pull image "registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk:v17.3.0"

Problem to solve

I cannot connect a new Kubernetes cluster to Gitlab via “Operate → Kubernetes clusters → Connect a cluster”

I run the helm commands provided by the above step and run those commands in my cluster.

However, the gitlab-kubernetes integration is unsuccessful. Looking at the cluster system logs, this is what I see:

Warning Failed 82s (x4 over 2m48s) kubelet Failed to pull image “registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk:v17.3.0”: rpc error: code = NotFound desc = failed to pull and unpack image “registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk:v17.3.0”: failed to resolve reference “registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk:v17.3.0”: registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk:v17.3.0: not found

I have tried this on multiple Kubernetes clusters and it’s the same issue. Please advise

Steps to reproduce

Create a new Azure AKS cluster and connect that cluster with Gitlab by install the Gitlab agent in the cluster. (“Operate → Kubernetes clusters → Connect a cluster”)

Configuration

Not applicable

Versions

Please select whether options apply, and add the version information.

Versions

  • gitlab-agent/agentk:v17.3.0

Infrastructure-as-Code
Not applicable

Cloud-native

  • Agent for Kubernetes (Operate > Kubernetes clusters):



Same problem here but for

agentk:v17.4.0

Appeared to have fixed by itself for me. But this is definitely what looks like a bug on the registry side.

i’m still encountering the error. agent version is also v17.4.0

17.4.0 is not released yet, 17.3.0 was released last week on 2024-08-15.

If you encounter what sounds like a bug with a missing released image, I’d suggest opening a bug report in Issues · GitLab.org / cluster-integration / GitLab Agent for Kubernetes · GitLab GitLab engineers can triage the issue then.