Gitlab agent is not connecting with eks cluster

I am running an EKS cluster and trying to connect using Gitlab agent.
However, when running this:’

helm repo add gitlab https://charts.gitlab.io
helm repo update
helm upgrade --install ali-local gitlab/gitlab-agent \
    --namespace gitlab-agent-ali-local \
    --create-namespace \
    --set image.tag=v15.9.0 \
    --set config.token=XXXXXXXXXXXXX\
    --set config.kasAddress=wss://kas.gitlab.com

I got

NAME: ali
LAST DEPLOYED: Mon Feb 20 11:07:52 2023
NAMESPACE: gitlab-agent-ali
STATUS: deployed
REVISION: 5
TEST SUITE: None

but the deployment is still not running it displays:

And the status of the agent is Never Connected

1 Like