-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-sample.yaml
70 lines (70 loc) · 1.71 KB
/
config-sample.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
apiVersion: finops.krateo.io/v1
kind: DatabaseConfig
metadata:
name: # DatabaseConfig name
namespace: # DatabaseConfig namespace
spec:
username: # username string
passwordSecretRef: # object reference to secret with password
name: # secret name
namespace: # secret namespace
key: # secret key
---
apiVersion: finops.krateo.io/v1
kind: FocusConfig
metadata:
name: # FocusConfig name
namespace: # FocusConfig namespace
spec:
scraperConfig: # same fields as krateoplatformops/finops-prometheus-scraper-generic
tableName: # tableName in the database to upload the data to
pollingInterval: # time duration, e.g., 12h30m
scraperDatabaseConfigRef: # See above kind DatabaseConfig
name: # name of the databaseConfigRef CR
namespace: # namespace of the databaseConfigRef CR
focusSpec: # See FOCUS for field details
availabilityZone:
billedCost:
billingAccountId:
billingAccountName:
billingCurrency:
billingPeriodEnd:
billingPeriodStart:
chargeCategory:
chargeClass:
chargeDescription:
chargeFrequency:
chargePeriodEnd:
chargePeriodStart:
commitmentDiscountCategory:
commitmentDiscountName:
commitmentDiscountStatus:
commitmentDiscountType:
commitmentDiscoutId:
consumedQuantity:
consumedUnit:
contractedCost:
contractedUnitCost:
effectiveCost:
invoiceIssuerName:
listCost:
listUnitPrice:
pricingCategory:
pricingQuantity:
pricingUnit:
providerName:
publisherName:
regionId:
regionName:
resourceId:
resourceName:
resourceType:
serviceCategory:
serviceName:
skuId:
skuPriceId:
subAccountId:
subAccountName:
tags:
- key:
value: