-
Notifications
You must be signed in to change notification settings - Fork 13
/
primary-aggregator.yaml
47 lines (40 loc) · 1.52 KB
/
primary-aggregator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
kubecostAggregator:
deployMethod: statefulset
kubecostProductConfigs:
clusterName: CLUSTER_NAME
# cloudIntegrationSecret: cloud-integration
productKey:
enabled: true
key: YOUR_KEY
federatedETL:
federatedCluster: true
kubecostModel:
federatedStorageConfigSecret: kubecost-federated-store
serviceAccount:
# This example has Kubecost create the service account + annotation. It does not automatically configure the role/ to trust the service account.
# To use a dedicated service account, set create to false, remove the annotation, and specify the name of your dedicated service account.
create: true
annotations: # Use the annotation for your cloud provider. This example uses AWS IAM Roles.
eks.amazonaws.com/role-arn: arn:aws:iam::<account>:role/<roleName>
# name: kubecost-irsa-sa
global:
prometheus:
enabled: true
# fqdn: http://prometheus-operated.monitoring:9090
prometheus:
nodeExporter: # node exporter is disabled by default, enable if needed
enabled: false
server:
global:
external_labels:
# cluster_id should be unique for all clusters and the same value as .kubecostProductConfigs.clusterName
cluster_id: CLUSTER_NAME
networkCosts:
# optional, see: https://docs.kubecost.com/install-and-configure/advanced-configuration/network-costs-configuration
enabled: true
config:
services:
# set the appropriate cloud provider to true
amazon-web-services: false
google-cloud-services: false
azure-cloud-services: false