Kubecost supports the ability to view cost and health data across multiple Kubernetes clusters and cloud providers. Below are the steps for adding an additional cluster to your Kubecost frontend.
Steps
- Install Kubecost on the additional cluster you would like to view. The recommended Kubecost install path is available at kubecost.com/install.
- Expose port 9090 of the
kubecost-cost-analyzerpod. This can be done with a Kubernetes ingress (example) or loadbalancer (example). Warning: by default a LoadBalancer exposes endpoints to the wide internet. Be careful about following the authentication requirements of your organization and environment. - Select Add new cluster on the Kubecost home page and provide the accessible URL (with port included) for the target Kubecost installation. Here's an example:
http://e9a706220bae04199-1639813551.us-east-2.elb.amazonaws.com:9090
