Home / Platform management / Clusters / Clusters / Plugin management / Deploy Kubecost Plugin

Deploy Kubecost Plugin

Kubecost is an open-source tool for managing and controlling the costs of a Kubernetes cluster. It helps organizations understand the costs of their Kubernetes workloads, enabling better budgeting, resource optimization, efficient resource usage, and reduced spending.

Notes

If the VictoriaMetrics plugin has been deployed or uninstalled before deploying the Kubecost plugin, it may result in inaccurate data in cost management.

Prerequisites

Procedures

  1. In the left navigation bar, click Clusters > Clusters.

  2. In the list of clusters, click the cluster name for which you want to deploy the Kubecost plugin.

  3. On the Plugins tab, click on the right side of Kubecost > Deploy.

  4. Configure the relevant parameters as follows:

    Parameter Description
    Kubecost Secret Name Kubecost needs to access the Kubernetes cluster to obtain cost and resource usage data. For secure authentication, you need to create or select a Secret containing the authentication information required to access Kubecost to ensure secure access.
    Storage Class Select an appropriate storage class for storing data in Kubecost. Kubecost requires storage for cost analysis, resource usage, and other data. The storage class defines how this data is stored in the Kubernetes cluster.
    Storage Size Kubecost stores a large amount of data. Therefore, based on the cluster size and data storage requirements, select an appropriate storage size that is large enough to accommodate all the data (in Gi, e.g., 8 Gi).
  5. Click Deploy.