Skip to content

Latest commit

 

History

History
106 lines (74 loc) · 4.55 KB

File metadata and controls

106 lines (74 loc) · 4.55 KB

Kubecost AWS Deployment Guide (Self-hosted)

Kubecost Enterprise Federation Architecture

It is recommended to deploy Kubecost Enterprise in this order to improve time to value. Configuring the AWS cloud integration will provide the most accurate data. Otherwise, it will default to on-demand public pricing and will not accurately reflect your AWS bill.

Prerequisites

A total of 3 buckets are required in order to support a IBM Kubecost Federated deployment with AWS cloud integration.

Kubecost Installation - Choose appropriate option.

  1. Kubecost Installed on Primary Cluster

    Option A: Enterprise with IRSA/EKS Pod Identities

   helm upgrade --install kubecost \
     --repo https://kubecost.github.io/kubecost/ kubecost \
     --namespace kubecost \
     -f aws-primary-federation-irsa.yaml
  • Verify ETL pipeline is working by checking that a /federated directory was created in the object-store. If no /federated directory exists, double check configuration, finops-agent pod logs or test that the user can curl the bucket endpoint from inside the finops-agent container.

Option B: Using Access Key and Secret

   helm upgrade --install kubecost \
     --repo https://kubecost.github.io/kubecost/ kubecost \
     --namespace kubecost \
     -f aws-primary.yaml
  1. Cloud Cost Integration Configured

  2. Kubecost Installed on Secondary Cluster(s)

    Option A: With IRSA/EKS Pod Identities

   helm upgrade --install kubecost \
     --repo https://kubecost.github.io/kubecost/ kubecost \
     --namespace kubecost \
     -f aws-kubecost-agent-irsa.yaml

Option B: Using Access Key and Secret

   helm upgrade --install kubecost \
     --repo https://kubecost.github.io/kubecost/ kubecost \
     --namespace kubecost \
     -f aws-kubecost-agent.yaml

Optional Configuration

  1. Network Costs Daemonset Configured

Please Note: The network cost daemonset will experience CPU throttling and higher memory consumption in large environments where there are several hundred thousand or more unique containers running per day.

  1. Kubecost Actions

Continuous Container Requst Right-sizing & Resource Quota Right-sizing

⚠️Important Note: In order to use this feature, users must obtain a v3 license key. Reach out to your Account Representative(s)

helm upgrade --install kubecost \
     --repo https://kubecost.github.io/kubecost/ kubecost \
     --namespace kubecost \
     -f https://raw.githubusercontent.com/kubecost/kubecost-success/refs/heads/main/actions-primary.yaml
  1. SSO/SAML Enabled

Troubleshooting

Common issues and their solutions will be documented here.

References