# Google Cloud Platform (GKE)

{% hint style="info" %}
Infra App connects automatically to most clusters. If running `kubectl` works without any modifications or custom scripts, then Infra App will also work out of the box.
{% endhint %}

### Prerequisites

* [Create a GKE cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster)&#x20;
* [Download and install](https://cloud.google.com/sdk/install) the Google Cloud SDK (this includes the `gcloud`  CLI tool)
* [Login ](https://cloud.google.com/sdk/gcloud/reference/auth/login)with a user that has access to the cluster via `gcloud auth login`

### Generate the config file

[Create a config file entry](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#generate_kubeconfig_entry) using  `gcloud`. For example:

```
gcloud container clusters get-credentials <cluster-name>
```

You're done! Infra App will discover the entry in your Kubernetes config file and automatically switch to your cluster. At any time you can access this cluster via the Cluster Switcher:

![](https://2997771214-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2YPh7b5O2frfEMtKk%2F-MKCgCcYJVIZ7pcrzEB9%2F-MKCh4mpJ9OmJ0P9U5Et%2Fgke%20dropdown.png?alt=media\&token=b5ced6d4-6f81-4dc8-903c-ec23fc1dc863)
