Skip to main content

Deploy Virtana CO South on GKE Autopilot Clusters

Introduction

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 to following requirements for completing this procedure:

  • GKE Autopilot Cluster - 1.32.2-gke.1652000 or higher.

  • Kubernetes - V1.11 + or higher.

  • Helm - V3.2.4 + or higher

Steps

  1. Open Virtana Platform in a supported browser:

    [ https://<GLOBAL_VIEW_HOSTNAME>/ui ]

  2. Log in using the credentials provided by your organization.

  3. Navigate to Container Observability > CLUSTER> System Status >South Deployment Guide.

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

  5. Copy the URL generated and run it your machine to download the YAML file

  6. Run the commands provided under Deploy Opscruise or use below commands

    helm repo add virtana-repo https://virtana.gitlab.io/helm-charts
    helm repo update
    helm search repo virtana-repo/virtana-co
    
    
  7. Change the Log level to info for opscruise-node-exporter-new in the <ORG_ID>-<CLUSTER_NAME>-opscruise-values.yaml file.

    opscruise-node-exporter-new:
      logLevel: "info"
  8. Run the following helm command to deploy the workloads:

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

Note

Virtana CO automatically detects the GKE Autopilot cluster at runtime and enables the required (Custom Resource Definition) CRDs for workload deployment. Therefore, no additional configuration steps are needed specifically for GKE Autopilot.

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, if required.

  1. Generate GCP Gateway Credentials:

    1. Choose GCP in Select cloud provider under Virtana Options Section and follow the steps provided.

    2. Run the following command to deploy it:

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