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
Open Virtana Platform in a supported browser:
[ https://<GLOBAL_VIEW_HOSTNAME>/ui ]
Log in using the credentials provided by your organization.
Navigate to Container Observability > CLUSTER> System Status >South Deployment Guide.
Click Generate Token to Download YAML to generate a URL to download the South values.yaml file.
Copy the URL generated and run it your machine to download the YAML file
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
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"
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.
Generate GCP Gateway Credentials:
Choose GCP in Select cloud provider under Virtana Options Section and follow the steps provided.
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