Parameters

Because this component depends on the component appuio-cloud-reporting, some parameters are taken from that component and are not individually configurable in this component. In particular:

The following list includes only parameters of this component. The parent key for all of them is metrics_collector.

See Installation for a full example.

namespace

type

string

default

${_instance}

The namespace in which to deploy this component.

database

type

dictionary

default
database: ${appuio_cloud_reporting:database}

See appuio-cloud-reporting docs for reference.

database_secret

type

dictionary

default
database_secret: ${appuio_cloud_reporting:database_secret}

See appuio-cloud-reporting docs for reference.

database_env

type

dictionary

default
database_env: ${appuio_cloud_reporting:database_env}

See appuio-cloud-reporting docs for reference.

extra_volumes

type

dictionary

default
extra_volumes: ${appuio_cloud_reporting:extra_volumes}

See appuio-cloud-reporting docs for reference.

images

type

dictionary

default

See class/defaults.yml.

Dictionary containing the container images used by this component.

exoscale.enabled

type

bool

default

false

Set to true if you want to deploy the exosacle metrics collector components.

exoscale.objectStorage.enabled

type

bool

default

true

Enable exoscale object storage cronjob.

exoscale.objectStorage.schedule

type

string

default

10 10,16,20 * * *

The cron schedule at which the object storage metrics collection job is spawned.

exoscale.dbaas.enabled

type

bool

default

false

Whether to add the DBaaS cronjob, too.

exoscale.dbaas.schedule

type

string

default

*/15 * * * *

The cron schedule at which the DBaaS metrics collection job is spawned, if enabled.

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.

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.

secrets.exoscale.credentials.stringData.KUBERNETES_SERVER_URL

type

string

default

Required.

The Kubernetes server URL.

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

cloudscale.enabled

type

bool

default

false

Set to true if you want to deploy the cloudscale metrics collector components.

cloudscale.objectStorage.enabled

type

bool

default

true

Enable cloudscale object storage cronjob.

cloudscale.objectStorage.schedule

type

string

default

10 4,10,16 * * *

The cron schedule at which the object storage metrics collection job is spawned.

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.

secrets.cloudscale.credentials.stringData.KUBERNETES_SERVER_URL

type

string

default

Required.

The Kubernetes server URL.

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.