charm-gnocchi/src/config.yaml

126 lines
4.3 KiB
YAML

options:
storage-backend:
type: string
default: ceph
description: |
Storage backend to use for Gnocchi. Valid options are ceph or s3.
s3-endpoint-url:
type: string
default:
description: |
When using a S3 storage backend, user must provide the endpoint URL.
s3-region-name:
type: string
default:
description: |
When using a S3 storage backend, user must provide the S3 region name.
s3-access-key-id:
type: string
default:
description: |
When using a S3 storage backend, user must provide the S3 access key ID.
s3-secret-access-key:
type: string
default:
description: |
When using a S3 storage backend, user must provide the S3 secret access key.
s3-bucket-prefix:
type: string
default: "gnocchi"
description: |
When using a S3 storage backend, user must provide the prefix to namespace metric bucket.
s3-check-consistency-timeout:
type: int
default: 60
description: |
Maximum time to wait checking data consistency when writing to S3. Set to 0 to
disable data consistency validation. (floating point value). Minimum value: 0
s3-max-pool-connections:
type: int
default: 50
description: |
The maximum number of connections to keep in a connection pool. (integer value).
Minimum value: 1
trusted-external-ca-cert:
type: string
default:
description: |
Base 64 encoded SSL CA certificate to use for an encrypted S3 endpoint.
To be used when the S3 certificates are not managed by charmed Vault.
use-policyd-override:
type: boolean
default: False
description: |
If True then use the resource file named 'policyd-override' to install
override YAML files in the service's policy.d directory. The resource
file should be a ZIP file containing at least one yaml file with a .yaml
or .yml extension. If False then remove the overrides.
bluestore-compression-algorithm:
type: string
default:
description: |
Compressor to use (if any) for pools requested by this charm.
.
NOTE: The ceph-osd charm sets a global default for this value (defaults
to 'lz4' unless configured by the end user) which will be used unless
specified for individual pools.
bluestore-compression-mode:
type: string
default:
description: |
Policy for using compression on pools requested by this charm.
.
'none' means never use compression.
'passive' means use compression when clients hint that data is
compressible.
'aggressive' means use compression unless clients hint that
data is not compressible.
'force' means use compression under all circumstances even if the clients
hint that the data is not compressible.
bluestore-compression-required-ratio:
type: float
default:
description: |
The ratio of the size of the data chunk after compression relative to the
original size must be at least this small in order to store the
compressed version on pools requested by this charm.
bluestore-compression-min-blob-size:
type: int
default:
description: |
Chunks smaller than this are never compressed on pools requested by
this charm.
bluestore-compression-min-blob-size-hdd:
type: int
default:
description: |
Value of bluestore compression min blob size for rotational media on
pools requested by this charm.
bluestore-compression-min-blob-size-ssd:
type: int
default:
description: |
Value of bluestore compression min blob size for solid state media on
pools requested by this charm.
bluestore-compression-max-blob-size:
type: int
default:
description: |
Chunks larger than this are broken into smaller blobs sizing bluestore
compression max blob size before being compressed on pools requested by
this charm.
bluestore-compression-max-blob-size-hdd:
type: int
default:
description: |
Value of bluestore compression max blob size for rotational media on
pools requested by this charm.
bluestore-compression-max-blob-size-ssd:
type: int
default:
description: |
Value of bluestore compression max blob size for solid state media on
pools requested by this charm.
openstack-origin:
default: cloud:focal-xena