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

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

  • Kubernetes: v1.11 or later

  • Helm: v.3.2.4 or later

Steps

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

  1. Open Virtana Platform in a supported browser:

    [ https://<GLOBAL_VIEW_HOSTNAME>/ui ]

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

  3. Click Container Observability and select a cluster. On the page that opens, click System Status and select South Deployment Guide in the dropdown menu.

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

  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 Opscruise 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>-opscruise-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 opscruise-node-exporter-new in the file and change the logLevel value to info.

      opscruise-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 opscruise-bundle virtana-repo/virtana-co --namespace opscruise \
      --create-namespace -f <ORG_ID>-<CLUSTER_NAME>-opscruise-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 Virtana Options > Select cloud provider section and click GCP. Perform the steps that open.

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

    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