Google Kubernetes Engine (GKE)


The Google Kubernetes Cluster (GKE) support enables users to create, manage, upgrade, resize, and delete a GKE clusters using Nirmata.

Setup cloud credentials for GKE

To manage a GKE Cluster in Nirmata, add Google Cloud Credentials in Nirmata. A valid Google Cloud account and credentials are required.

See GCE Cloud Provider for full documentation on adding Google as a Cloud Provider.

Configure a cluster-type for GKE

Go to Policies menu > cluster type and create a new cluster type for GKE. Configure the following options for GKE cluster type:

  1. Cloud configuration including Kubernetes version, region, network, sub-network.
  2. Node-pool configuration including machine-type, disk size. You have an option to use a different service account for node-pools if required.
  3. Configure any add-ons that you would like to deploy during cluster creation.
  4. Last, configure access-control for the cluster as required.

Create a GKE Cluster

To add a GKE Cluster in Nirmata, select Clusters from the sidebar menu and then click the +Add Cluster button, select GKE cluster.

In the cluster menu:

  1. Select the cluster type you would like to use .
  2. Choose cloud credentials (same unless you plan to use different credentials for node pools)
  3. Configure the node-pool settings, including machine-type and count of the nodes.
  4. Click on create button and in a few minutes the cluster should be created show ‘Ready’ in Nirmata.

Upgrade a GKE Cluster

NOTE: The Kubernetes version associated with a cluster cannot be downgraded. To upgrade the Kubernetes version of a GKE Cluster, navigate to the cluster from the Cluster menu.

  1. Select Upgrade Cluster from the Settings menu.

  2. Select the new Kubernetes version from the drop-down menu and click Save.

The upgrade is reflected in Google Cloud Platform and Nirmata.

Resize a GKE Cluster

To change the number of nodes in a GKE Cluster, navigate to the cluster from the Cluster menu.

  1. Change the node-pool configuration top reflect the right size of the cluster.
  2. Enter the new node count and click Save.

Once the has been scaled, the new nodes are reflected on the Nirmata Cluster dashboard.

Delete a GKE Cluster

NOTE: All Applications and Environments running inside the cluster must be stopped and deleted before deleting the cluster.

To delete a GKE Cluster, navigate to the cluster from the Cluster menu.

  1. From the Settings menu, select Delete Cluster.

  2. Enter the Cluster name and click Delete.

The cluster is deleted in Nirmata and Google Cloud Platform.