Cost Management

Cost Management:

  • Label Resources:

    • Visualize costs using Prometheus & Grafana

  • Find idle and unallocated resources

    • Visualize idle CPU, Memory and Storage

  • Workload Rightsizing

    • Vertical Pod AutoScalar (Adjust CPU, Memory size of pods)

    • Horizontal Pod AutoScalar (Add/remove pods)

  • Cluster Downsizing

    • Cluster Autoscalar adds and removes nodes to meet the demand

  • Using free trials of kubernetes cost tools eg: KubeCost

  • Estimate future cost, use a load-testing eg: SpeedScale, K6, JMeter, Gatling

  • Utilization Wast (Running but not using or live)

    • Scale to zero if no traffic

Last updated