Hi,
Am looking to build CI/CD pipelines with GitLab and deploy projects in a K8S cluster.
Have set up a cluster with 2 nodes and a self-hosted GitLab instance. Am facing an issue when connecting the K8S cluster to GitLab via an agent. In GitLab web UI still says never connected while agent pods are running in the K8S cluster(installed with helm). below is the error log.
{“level”:“info”,“time”:“2023-12-27T15:10:19.784Z”,“msg”:“Observability endpoint is up”,“mod_name”:“observability”,“net_network”:“tcp”,“net_address”:“[::]:8080”}
{“level”:“warn”,“time”:“2023-12-27T15:10:39.779Z”,“msg”:“GetConfiguration failed”,“error”:“rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: failed to WebSocket dial: failed to send handshake request: Get \"https://gitlab.self-hosted.com/-/kubernetes-agent/\\\”: context deadline exceeded""}
{“level”:“error”,“time”:“2023-12-27T15:10:39.779Z”,“msg”:“Error handling a connection”,“mod_name”:“reverse_tunnel”,“error”:“Connect(): rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: failed to WebSocket dial: failed to send handshake request: Get \"https://gitlab.self-hosted.com/-/kubernetes-agent/\\\”: context deadline exceeded""}
{“level”:“error”,“time”:“2023-12-27T15:10:39.779Z”,“msg”:“Error handling a connection”,“mod_name”:“reverse_tunnel”,“error”:“Connect(): rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: failed to WebSocket dial: failed to send handshake request: Get \"https://gitlab.self-hosted.com/-/kubernetes-agent/\\\”: context deadline exceeded""}
{“level”:“error”,“time”:“2023-12-27T15:11:10.620Z”,“msg”:“Error handling a connection”,“mod_name”:“reverse_tunnel”,“error”:“Connect(): rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: failed to WebSocket dial: failed to send handshake request: Get \"https://gitlab.self-hosted.com/-/kubernetes-agent/\\\”: context deadline exceeded""}
{“level”:“warn”,“time”:“2023-12-27T15:11:10.620Z”,“msg”:“GetConfiguration failed”,“error”:“rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: failed to WebSocket dial: failed to send handshake request: Get \"https://gitlab.self-hosted.com/-/kubernetes-agent/\\\”: context deadline exceeded""}