Skip to main content

Deploy Virtana CO South on GKE Autopilot clusters

Virtana is recognized as a Google Autopilot partner, so you can deploy Virtana Container Observability on Google Kubernetes Engine (GKE) Autopilot clusters. Use the following steps to deploy Virtana’s Container Observability (CO) on GKE Autopilot clusters, so you can gain comprehensive visibility into your dynamic, containerized workloads running on GKE Autopilot.

Prerequisites

You need the following requirements to complete this procedure:

  • GKE Autopilot: v.1.32.2-gke.1652000 or later

  • Kubernetes: v1.11 or later

  • Helm: v.3.2.4 or later

Perform the following steps to deploy Container Observability on GKE Autopilot clusters:

  1. Log in to the Virtana Platform.

  2. Click Container Observability and select the required cluster.

  3. In the top right corner, click System Status and select South Deployment Guide in the dropdown menu.

    Sys-status_opt.png

    The Deployment Guide page opens.

  4. Click Generate Token to Download YAML to generate a URL to download the South values.yaml file.

    Deploy-guide_pg.png
  5. Copy the generated URL and run it locally on your machine so you can download the YAML file.

  6. You can run the commands provided by your Container Observability deployment or enter the following commands:

    helm repo add virtana-repo https://virtana.gitlab.io/helm-charts
    helm repo update
    helm search repo virtana-repo/virtana-co
    
    
  7. Open the <ORG_ID>-<CLUSTER_NAME>-virtana-co-values.yaml file in your editor of choice. Perform the following steps:

    1. In the global section of the file, set the gkeAutoPilot variable to true.

    2. Locate virtana-node-exporter-new in the file and change the logLevel value to info.

      virtana-node-exporter-new:
        logLevel: "info"
  8. Save your changes and continue on the Deployment Guide page.

  9. Run the following Helm command to deploy the workloads:

    helm upgrade --install virtana-bundle virtana-repo/virtana-co --namespace virtana \
      --create-namespace -f <ORG_ID>-<CLUSTER_NAME>-virtana-co-values.yaml \
      --version <LATEST_VERSION> 

Deploy Google Cloud Gateway for Infra Level Observability

You may need to generate Google Cloud Gateway credentials to deploy the gateway for infrastructure-level observability. This is an optional procedure for generating the credentials and deploying the gateway.

This task assumes that you are on the South Deployment Guide of Container Observability.

  1. On the Deployment Guide page, navigate to Select cloud provider in the Virtana Options section and select GCP.

    You can view the instructions to create a GCP service account and assign the Viewer Role.

  2. Run the following command to deploy the Google Cloud gateway with the GCP credentials:

    helm upgrade --install virtana-bundle virtana-repo/virtana-co --namespace virtana \
    --create-namespace -f <ORG_ID>-<CLUSTER_NAME>-virtana-co-values.yaml \
    --version <LATEST_VERSION> --set gcpgw.enabled=true --set-file \
    gcpgw.gcpCreds=virtana-gcpcreds.json