Kubernetes-Integration: There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid

Hello together,

we have GitLab running on our local server and also a kubernetes cluster. I want to use the kubernetes integration to deploy the runner on our cluster.

So I followed the instructions on the documentation site and everything went like described:

https://docs.gitlab.com/ee/user/project/clusters/add_remove_clusters.html#existing-kubernetes-cluster

After i saved alle options (including ip, cert and token) i get the following error:

There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid. 

I verified token and cert with an curl call with exact the same data and i got a valid result from the kubernetes cluster. Furthermore i made the curl call also from our gitlab server machine so that there is no firewall-problem. This worked aswell.

I tailed and grepped the latest logs but the ip adress was not found.

Do you have any ideas, what the problem might be? Are there log files where to look after the connection attempt?

Thanks

1 Like