Links hướng dẫn cài đặt: https://www.kubecost.com/install.html#show-instructions
##Helm 3 nhé###
kubectl create namespace kubecost
helm repo add kubecost https://kubecost.github.io/cost-analyzer/
helm install kubecost kubecost/cost-analyzer --namespace kubecost --set kubecostToken="bXIubmltOTRAZ21haWwuY29txm343yadf98"
Links API: http://docs.kubecost.com/apis


tolerations:
- key: "node"
operator: "Equal"
value: "storage-ssd"
effect: "NoSchedule"
nodeSelector:
node: "storage-ssd"

tìm chưa tìm ra trong helm value chỗ nào.
Bạn có thể tuỷ chỉnh storage cho phù hợp. update sat 6 nov 2021
kubecostToken: "bXIubmltOTRAZ21haWwuY29txm343yadf98"
nodeSelector:
node: "storage-hdd"
persistentVolume:
storageClass: "longhorn-normal"
Nếu mà Cluster kube của bạn đã cài prometheus rồi và có sẵn node-exporter thì bạn bỏ node-exporter của kubecost ra nhé

Trong yaml của kubecost set node exporter = false nhé



Trong vô số tính năng hưu ích thì mình chỉ cho bạn 1 thứ rất hay





update thu 7 Oct 2021
Cái số recommendation này được dựa vào data của pod có usage cao nhất
