doc/user/project/clusters/add_gke_clusters.md
{{< details >}}
{{< /details >}}
{{< history >}}
{{< /history >}}
[!warning] This feature was deprecated in GitLab 14.5. Use Infrastructure as Code with OpenTofu and GitLab. You can also implement your own IaC solution using your preferred tool.
Through GitLab, you can create new and connect existing clusters hosted on Google Kubernetes Engine (GKE).
If you already have a GKE cluster and want to connect it to GitLab, use the GitLab agent for Kubernetes.
All GKE clusters provisioned by GitLab are VPC-native.
To create a new GKE cluster from GitLab, use Infrastructure as Code with OpenTofu and GitLab.
{{< history >}}
{{< /history >}}
Prerequisites:
Note the following:
/16 instead of the regular /14. /16 is a CIDR
notation.To create new Kubernetes clusters to your project, group, or instance, through cluster certificates:
After a couple of minutes, your cluster is ready.
You can choose to use Cloud Run for Anthos in place of installing Knative and Istio separately after the cluster has been created. This means that Cloud Run (Knative), Istio, and HTTP Load Balancing are enabled on the cluster from the start, and cannot be installed or uninstalled.