The Cloud8 Platform supports internal Kubernetes costs. To use this functionality, you must follow one of the steps below:
Google Cloud: Google Kubernetes Engine (GKE) #
You must enable GKE Cost Allocation on a per-cluster basis, as follows:
To create a new cluster: #
gcloud container clusters create CLUSTER_NAME --enable-cost-allocation \
--region=COMPUTE_REGION
To upgrade an existing cluster: #
gcloud container clusters update CLUSTER_NAME --enable-cost-allocation
Replace the variables as follows:
- CLUSTER_NAME : the name of the new cluster;
- COMPUTE_REGION : The cluster’s Compute Engine region . For zonal clusters, use –zone= COMPUTE_ZONE
AWS: Amazon Elastic Kubernetes Service (EKS) #
For Amazon AWS, we use CloudWatch Container Insights . Check the URL below for the necessary steps:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html
Comments: #
- After enabling Cloud Watch Container Insights , you need to go to “ Components ” -> “ K8s ”, right-click and enable costs for Cloud8 to consume this data;
- Cloud Watch Container Insights is not a free service, Amazon charges for its use . It is important to study the costs of the service before enabling it, to avoid unwanted surprises;
Other methods and/or providers #
If you don’t use either of these 2 methods or want integration for Azure or Oracle, please contact us.