Setting Up GCP on GKE

This section provides detailed steps to set up Google Cloud Platform (GCP) with Google Kubernetes Engine (GKE).

Before you begin
  1. In the Cloud Console, on the project selector page, select or create a Cloud project.
  2. Ensure that billing is enabled for your Google Cloud project.
  3. Install and configure GCP Cloud SDK.
  4. Install Helm.
    Note: When you obtain third-party software or services, it is your responsibility to ensure you understand the license terms associated with such third-party software or services and comply with such terms.
  5. Enable the following APIs on the Cloud Console:
    Procedure
  1. Create a custom mode network by using console or gcloud.
  2. Create a Virtual Private Cloud (VPC) network.
    Use the VPC network for all objects to be created for Google Cloud Platform.

  3. Create Cloud SQL for PostgreSQL. After entering a password for the PostgreSQL user, perform the following steps:
    1. Select region and database version.
    2. In the Configuration options > Connectivity section,
      1. Select the Private IP check box.
      2. In the Associated Networking drop-down list, select the previously created vpc network to create a private connection in vpc network.
      3. Select the Public IP check box.
      4. In the Authorized networks section, click Add Network and enter your client IP. The connection is required to connect from your network for database schema installation.
    3. Click Create.
  4. Create Container Registry.
  5. Create a regional cluster. After entering the boot disk size, perform the following steps:
    1. In the Node Security section, select the Allow full access to all Cloud APIs option for smooth communication.
    2. In the Networking section, select the Public cluster option.
    3. From the Network list, select the previously created cluster.
    4. Click Create.
Note: You can select different types of clusters. For details, see GCP documentation.