AppCat Billing
images.collector
| type |
dict |
| default |
Dictionary containing the container image used by this component.
The parent key for all of the following parameters is appcat.billing.
namespace
| type |
string |
| default |
|
The namespace in which to deploy the cloud billing.
tenantID
| type |
string |
| default |
|
The name of the tenant the cluster belongs to. Defaults to the cluster:tenant lieutenant fact.
clusterID
| type |
string |
| default |
|
The name of the cluster. Defaults to the cluster:name lieutenant fact.
enableMockOrgInfo
| type |
boolean |
| default |
|
If a PrometheusRule with mock recording rules should be created. If enabled it will create two the following two metrics:
appuio_control_organization_info{organization="awesomekorp", sales_order="ST10120"} 1
appuio_control_organization_info'{organization="notvshn", sales_order="invalid"} 1
salesOrder
| type |
string |
| default |
|
The sales order to be used on that cluster (only relevant for APPUiO Managed)
vshn.enableCronjobs
| type |
boolean |
| default |
|
If the billing cronjob for VSHN Appcat services should be enabled.
vshn.meteringRules
| type |
boolean |
| default |
|
If metering prometheus rules should be deployed. Used for alerting.
cloud.uom
| type |
dict |
| default |
|
Unit of measure map that translates the cloud serivce value to the odoo16 value Format: "cloud service value": "odoo16 value"
cloud.exoscale.enabled
| type |
bool |
| default |
|
Set to true if you want to deploy the exosacle metrics collector components.
cloud.exoscale.objectStorage.enabled
| type |
bool |
| default |
|
Enable exoscale object storage collector.
cloud.exoscale.objectStorage.collectIntervalHours
- type
-
int
- default
-
23
The interval (in hours) that the collector collects billing metrics for Exoscale object storage service.
cloud.exoscale.objectStorage.billingHours
- type
-
int
- default
-
6
Only collect billing metrics after a certain hour of the day.
cloud.exoscale.dbaas.collectIntervalMinutes
- type
-
int
- default
-
15
The interval (in minutes) that the collector collects billing metrics for Exoscale DBaaS services.
cloud.secrets.exoscale.credentials.stringData.EXOSCALE_API_KEY
| type |
string |
| default |
Required. |
The Exoscale API key.
You need to get the token from the Exoscale Console. You need to select the correct account (token is limited to one account), choose "IAM" in the menu and generate a new key pair.
cloud.secrets.exoscale.credentials.stringData.EXOSCALE_API_SECRET
| type |
string |
| default |
Required. |
The Exoscale API secret.
Second part of the Exoscale API credentials. See EXOSCALE_API_KEY for instructions.
cloud.secrets.exoscale.credentials.stringData.KUBERNETES_SERVER_URL
| type |
string |
| default |
Required. |
The Kubernetes server URL.
cloud.secrets.exoscale.credentials.stringData.KUBERNETES_SERVER_TOKEN
| type |
string |
| default |
Required. |
The token to connect to a Kubernetes cluster.
The Service Account connected to this token should have get and list permissions to the following managed resources:
-
buckets.exoscale.crossplane.io -
postgresqls.exoscale.crossplane.io
cloud.cloudscale.enabled
| type |
bool |
| default |
|
Set to true if you want to deploy the cloudscale metrics collector components.
cloud.cloudscale.objectStorage.enabled
| type |
bool |
| default |
|
Enable cloudscale object storage collector.
cloud.cloudscale.objectStorage.collectIntervalHours
- type
-
int
- default
-
23
The interval (in hours) that the collector collects billing metrics for Cloudscale object storage service.
cloud.secrets.cloudscale.credentials.stringData.CLOUDSCALE_API_TOKEN
| type |
string |
| default |
Required. |
The cloudscale API token.
You need to get the token from the Cloudscale Control Panel. You need to select the correct Project (token is limited to one project), choose "API Tokens" in the menu and generate a new one.
cloud.secrets.cloudscale.credentials.stringData.KUBERNETES_SERVER_URL
| type |
string |
| default |
Required. |
The Kubernetes server URL.
cloud.secrets.cloudscale.credentials.stringData.KUBERNETES_SERVER_TOKEN
| type |
string |
| default |
Required. |
The token to connect to a Kubernetes cluster.
The Service Account connected to this token should have get and list permissions to buckets.cloudscale.crossplane.io managed resource, and get and list permissions for namespaces.
monitoring.enabled
| type |
boolean |
| default |
true |
Whether to enable monitoring for the billing monitoirng
network_policies.target_namespaces:
| type |
dict |
| default |
{} |
List of namespaces to which the billing tool should have access to.
prometheus
prometheus.url
| type |
string |
| default |
vshn-appuio-mimir-query-frontend.vshn-appuio-mimir.svc:8080/prometheus |
URL to the prometheus instance that holds the appuio_control_organization_info to find the correct salesOrder