mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
2.2 KiB
2.2 KiB
Kubecost
Monitoring application providing real-time cost visibility and insights.
Built on top of OpenCost.
TL;DR
Setup
helm repo add 'kubecost' 'https://kubecost.github.io/cost-analyzer/' && helm repo update 'kubecost'
helm search repo 'kubecost/cost-analyzer' --versions
helm show values --repo 'https://kubecost.github.io/cost-analyzer/' 'cost-analyzer'
helm --namespace 'kubecost' upgrade --install 'kubecost' 'kubecost/cost-analyzer' --create-namespace
helm --namespace 'kubecost' upgrade --install 'kubecost' --create-namespace \
--repo 'https://kubecost.github.io/cost-analyzer/' 'cost-analyzer' \
--set 'persistentVolume.enabled=false'
# EKS-specific
VERSION='2.8.0' \
helm --namespace 'kubecost' upgrade --install 'kubecost' --create-namespace \
'oci://public.ecr.aws/kubecost/cost-analyzer' --version "$VERSION" \
--values "https://raw.githubusercontent.com/kubecost/cost-analyzer-helm-chart/v$VERSION/cost-analyzer/values-eks-cost-monitoring.yaml"
helm --namespace 'kubecost' uninstall 'kubecost' \
&& kubectl delete namespace 'kubecost'
Usage
kubectl --namespace 'kubecost' port-forward 'deployment/kubecost-cost-analyzer' '9090'
open 'http://localhost:9090'