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 :-(
You can connect your Kubernetes cluster with GitLab to deploy, manage, and monitor your cloud-native solutions. To connect a Kubernetes cluster to GitLab, you must first install an agent in your cluster. The agent runs in the cluster, and you can use it to: Communicate with a cluster, which is behind a firewall or NAT.
Go client. To get the library, run the following command: go get k8s.io/client-go@kubernetes-<kubernetes-version-number> See https://github.com/kubernetes/client-go/releases to see which versions are supported. Write an application atop of the client-go clients.
kubectl cluster-info
or
cat ~/.kube/config | grep server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With