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.
- GitLab.com SaaS
Versions
- gitlab-agent/agentk:v17.3.0
Infrastructure-as-Code
Not applicable
Cloud-native
- Agent for Kubernetes (
Operate > Kubernetes clusters
):