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
Open Virtana Platform in a supported browser:
[ https://<GLOBAL_VIEW_HOSTNAME>/ui ]
Log in using the credentials provided by your organization.
Click Container Observability and select a cluster. On the page that opens, click System Status and select South Deployment Guide in the dropdown menu.
Click Generate Token to Download YAML to generate a URL to download the South
values.yaml
file.Copy the generated URL and run it locally on your machine so you can download the YAML file.
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
Open the
<ORG_ID>-<CLUSTER_NAME>-opscruise-values.yaml
file in your editor of choice. Perform the following steps:In the
global
section of the file, set thegkeAutoPilot
variable totrue
.Locate
opscruise-node-exporter-new
in the file and change thelogLevel
value toinfo
.opscruise-node-exporter-new: logLevel: "info"
Save your changes and continue on the Deployment Guide page.
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.
On the Deployment Guide page, navigate to Virtana Options > Select cloud provider section and click GCP. Perform the steps that open.
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