In order to gather the data we need to perform allocation for a given cluster, you will need to deploy the Cloudability Metrics Agent to each cluster you want to report on. This is done though a YAML deployment provisioned for each cluster, and dependent on the specific Kubernetes version you are running.
Simply click the yellow plus icon (see below), and fill out the form with your Cluster Name, Kubernetes version, and RBAC requirements. We will generate a YAML file for you to download, and you can run the deployment from there. Once complete, we will start receiving data for the cluster within a few hours. Data for that cluster should show up in the app the following day. If you run into any issues with the deployment, please contact support.
When upgrading to a new Kubernetes version, you may need to install a new version of the Cloudability Metrics Agent to ensure data continues to flow for that cluster. To do so, fill out the provisioning form in Cloudability with the same cluster name, new Kubernetes version, and RBAC requirements, and you'll get a YAML download for the new version of Kubernetes. This is particularly important when upgrading from 1.6.x to 1.7.x. Please contact support with any questions about upgrades.
GKE Specific Instructions
Please add a cluster label in each cluster with key: gke-cluster and value: the cluster name(s) you set in the form/YAML. This will allow us to map GKE clusters to line items in the GCP billing file, and allocate costs to your clusters.
Cloudability will need to ingest a billing file with the cluster labels you added, which can take up to 48 hours. Once we have processed the new billing file, you will need to create a new tag mapping in the Cloudability application. Set a Cloudability Dimension as: gke-cluster, and map this to the gke-cluster tag. This is a one time need, not per cluster.
For clusters with RBAC installed (1.8.x and greater): Ensure that your account has cluster-admin to your account before deploying the Metrics Agent. By default, a user account does not have the cluster-admin role. Use the following command on the GKE cluster to grant a user the cluster-admin role: "kubectl create clusterrolebinding username-cluster-admin-binding --clusterrole=cluster-admin --firstname.lastname@example.org"