Upgrade to Pro — share decks privately, control downloads, hide ads and more …

複数プロダクトを支えるEKSクラスタのコスト按分 / PFEM12

複数プロダクトを支えるEKSクラスタのコスト按分 / PFEM12

■ イベント
Platform Engineering Meetup #12
https://platformengineering.connpass.com/event/348986/

■ 発表者
技術本部 研究開発部 Architectグループ 
宮地 宏一

■ 研究開発部 採用情報
https://media.sansan-engineering.com/randd

■ Sansan Tech Blog
https://buildersbox.corp-sansan.com/

Sansan R&D

April 08, 2025
Tweet

More Decks by Sansan R&D

Other Decks in Technology

Transcript

  1. 構成 Karpenterのリソース設定 - EC2NodeClass: EC2のタグをコスト管理タグとして設定 - NodePool: Taintの設定、 Labelの設定 Podの設定

    - Taintに合わせて、Toleration を設定 - NodeにNodePool名のLabelが設定されるため、NodeSelector またはAffinityを指 定 - e.g. “karpenter.sh/nodepool: {NodePool name}” Karpenter [ https://karpenter.sh/ ]
  2. 元々はKubecostをEKS Addonより導⼊していた。情報量は⼗分であるが、無料版で は15⽇間しかデータが保持できないためSplit Cost Allocation Data for EKS (SCAD) への乗り換えを⾏った。

    Split Cost Allocation Data for Amazon EKSの導⼊ Kubecost メリット - EKS Addonから簡単に導⼊可能 - ダッシュボードがリッチ デメリット - 無料版は15⽇間のみ保存 - CURの統合が少し⾯倒 SCAD メリット - 無料で利⽤可能 - データ保持が無制限(保存先が必要) デメリット - Dashboardは⾃⾝で⽤意する必要があ る。 Kubecost [ https://www. kubecost.com/ ] AWS バンドル版 Kubecost [ https://docs.aws.amazon.com/ja_jp/eks/latest/userguide/cost-monitoring-kubecost-bundles.html ] SCAD [ https://docs.aws.amazon.com/cur/latest/userguide/split-cost-allocation-data.html ]