Appearance
Influx DB
This section shows all available options that can be overridden in the config.jsonnet
file.
All InfluxDB config is stored under the influxDB object in the config.
js
{
influxDB+: {
annotations:: {
deployment: {},
ingress: {},
pod: {},
},
bucket:: 'metrics',
env:: {},
image:: 'influxdb:2.7.1-alpine',
ingress:: {},
labels:: {
deployment: {},
pod: {},
selector: {'app.kubernetes.io/name': 'influx-db'},
},
name:: 'influx-db',
organisation:: 'observability',
path:: '/',
ports:: {
external: 80,
internal: 8086,
},
resources:: {
cpu: {request: '100m', limit: '4'},
memory: {request: '128Mi', limit: '512Mi'},
},
retention:: '1w',
secrets:: {
username: '<fill with InfluxDB username>',
password: '<fill with InfluxDB password>',
token: '<fill with API token>',
},
security:: {
tls: {
enabled: false,
issuer: '<fill with certificate issuer>',
},
},
},
}
Field | Description / Default |
---|---|
annotations.deployment | Annotations added at the deployment (topmost) level. {} |
annotations.ingress | Annotations added to the ingress. {} |
annotations.pod | Annotations added at the pod level. {} |
bucket | Bucket name used for the metrics. metrics |
env | Environment variables that are added to the Influx DB container. {} |
host | Hostname where the UI is exposed. undefined |
image | Docker image that gets deployed. influxdb:2.7.1-alpine |
ingress.className | Class name added to the Influx DB ingress. undefined |
labels.deployment | Labels added at the deployment (topmost) level. {} |
labels.pod | Labels added at the pod level. {} |
labels.selector | Selector used for all InfluxDB k8s resources. {'app.kubernetes.io/name': 'influx-db'} |
name | Name used for the k8s resources. influx-db |
organisation | Name of the organisation. observability |
path | Path where the UI is exposed. / |
ports.external | External port where the UI is exposed. 80 |
ports.internal | Internal port used inside the container. 8086 |
resources.cpu.request | Min. requested amount of CPU time. 100m |
resources.cpu.limit | Max. allowed amount of CPU time. 4 |
resources.memory.request | Min. requested amount of memory. 128Mi |
resources.memory.limit | Max. allowed amount of memory. 512Mi |
retention | Retention policy used for the metrics bucket. 1w |
secrets.username | Username for the InfluxDB. <fill with InfluxDB username> |
secrets.password | Password for the InfluxDB. <fill with InfluxDB password> |
secrets.token | Token that can be used to access the InfluxDB API. <fill with API token> |
security.tls.enabled | Enables TLS, creating a certificate to access the Influx UI over HTTPS. false |
security.tls.issuer | Issuer or ClusterIssuer where the certificate is requested. See cert-manager documentation on how to set one up. <fill with certificate issuer> |