Version: 6.2.2

Google Cloud Provider GKE Prerequisites

This section provides instructions for preparing for Google Cloud Provider GKE Cortex Helm installation and configuration.

GKE setup

  1. Create a GCP account. Follow the instructions on the GKE Quickstart Guide: Before you Begin.
    • Create a Project in the Google Cloud Console.
    • Enable billing for your GCC project.
    • Enable the Artifact Registry and Google Kubernetes APIs.
    • Set up a GKE cluster.
    • Verify that you have the available quota in the Google Cloud Console.
  2. Launch the Cloud Shell and set defaults in the Google Cloud or configure the local gcloud CLI by running:
    gcloud init
  3. (Optional) Configure customer managed encryption keys (cmek).
  4. Create a GKE Cluster (v1.21 +). (See Sizing Guidelines)
  5. (Optional)Create a Bastion host and connect to the Bastion host.
  6. Create hosted externalized infrastructure dependencies.
<Alert title="NOTE" color="primary">
Creating hosted-externalized infrastructure dependencies (especially Mongo, Redis, and MinIO) is considered the best practice for both development and production environments of Cortex Fabric.
Customers who opt for this setup are responsible for creating accounts with the dependency providers, procuring the required licenses, implementing appropriate plans for their solutions, monitoring their usage, and managing those accounts.
For development/demo environments customers may opt to install Cortex with the internalized dependencies as directed in the [Installation Guide](/cortex-charts/docs/6.2.2/installation).
</Alert>
  1. Update the kubeconfig file with your credentials and endpoint information to point kubectl at a specific cluster in GKE.

    gcloud container clusters get-credentials <GCP-project-name> -z <project-zone>
  2. Install and configure Istio

  3. Set up Cloud DNS for GKE.

  4. Create a DNS entry in Google Cloud DNS for Istio ingress.

  5. Create certs for the domain name (options):

  6. (Optional way to store images) Use GCR instead of the packaged Fabric private-registry (Docker):

Google Cloud Storage Setup

In addition to Minio/S3, Fabric can be configured to use Google Cloud Storage as Fabric's storage backend for Managed Content, Profiles, and Campaigns.

In Google Cloud Storage create 3 GCS buckets and an IAM Google service account or setup Workload Identity with permissions to access those buckets.

Install Cortex Fabric

Install Cortex Fabric using the Helm Chart following the Fabric installation and post-installation instructions.

End-to-end Installation Flow for GCP

The diagram that follows is a summary of the prerequisite steps provided on this page and the general installation steps found here.

Image alt tag value