Setting Up GCP On GKE

This section provides detailed steps to set up the Google Cloud Platform (GCP) with the 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: It is your responsibility to comprehend and adhere to the license terms of any third-party software or services you acquire.
  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 the 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 checkbox.
      2. In the Associated Networking dropdown list, select the previously created VPC network to create a private connection in the VPC network.
      3. Select the Public IP checkbox.
      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.