How do I find the gcloud Kubernetes api url for gitlab integration

11/21/2017

I'm using the hosted version of gitlab and gitlab-ci and following the kubernetes integration setup https://docs.gitlab.com/ce/user/project/integrations/kubernetes.html.

I'm struggling to find what to enter as the Kubernetes API URL for my gcloud hosted kubernetes instance. I assume I'm missing something obvious :-(

-- jayTee
gcloud
gitlab
gitlab-ci
kubernetes

1 Answer

11/21/2017
kubectl cluster-info

or

cat ~/.kube/config | grep server
-- Camil
Source: StackOverflow