GKE Clusters
How to Optimize Google Managed Kubernetes Clusters
How to Optimize Google Managed Kubernetes Clusters
MacOS
Linux
Windows (and all Binaries) Download Windows (Linux, and MacOS) binary from
Install the Kaytu CLI plugin
If you don't have Google Cloud CLI, and install it and run this command:
Run to confirm you are logged in to the correct account
Replace the parameters enclosed in [] with your cluster name, zone, and project-id.
Run
to confirm you are connected to the cluster
Enrollment keys allow the Kubernetes cluster to get optimization results from the Kaytu platform.
Replace the Cluster name with the Kubernetes Cluster.
Please copy the enrollment key provided. Unfortunately, you won't be able to view the key at a later time.
Once that completes, let's fetch the latest list of charts
In values.yaml file, please make sure the following variables are correctly configured:
kaytu.kaytu.authToken
needs to be populated with the key generated in Step 4.
kaytu.kaytu.prometheus.address
needs to be pointed to the Prometheus endpoint.
This will create a namespace if one doesn't exist for Kaytu
Check the logs and wait for the optimization cycle to be over
Wait for the log containing the optimization cycle to be completed.