Appearance
Shared
This section shows all shared options that can be overridden in the config.jsonnet
file.
Shared options are used for overarching settings that apply to all parts of the deployment as well as shared resources.
All shared config is stored under the shared object in the config.
js
{
shared+: {
annotations:: {
deployment: {},
ingress: {},
pod: {},
},
env:: {},
ingress:: {},
labels:: {
deployment: {},
pod: {},
selector: {'app.kubernetes.io/name': 'observability'},
},
name:: 'observability',
security:: {
tls: {
enabled: false,
issuer: '<fill with certificate issuer>',
},
},
storage:: {
class: {
name: 'observability',
},
name: 'observability',
path: '/opt/observability',
reclaimPolicy: 'Retain',
size: '50Gi',
},
},
}
Field | Description / Default |
---|---|
annotations.deployment | Annotations added at the topmost level of all deployments. {} |
annotations.ingress | Annotations added to all ingresses. {} |
annotations.pod | Annotations added to all pods. {} |
env | Environment variables added to all pods. {} |
ingress.className | Class name added to all ingress resources. undefined |
labels.deployment | Labels added at the topmost level of all deployments. {} |
labels.pod | Labels added to all pods. {} |
labels.selector | Selector used for all shared k8s resources. {'app.kubernetes.io/name': 'observability'} |
name | Name used for the shared k8s resources. observability |
security.tls.enabled | Enables TLS, creating a certificate to access all endpoints 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> |
storage.class.name | Name of the storage class. observability |
storage.class.parameters | Extra parameters of the storage class. undefined |
storage.class.provisioner | Provisioner of the storage class. undefined |
storage.name | Name used for the PV and PVC k8s resources. observability |
storage.nfs.server | Address to an NFS which is used instead of the host. undefined |
storage.path | Path on the host or NFS where the data is stored. /opt/observability |
storage.reclaimPolicy | The reclaim policy of the volume, which defines what happens when the volume is deleted. Retain |
storage.size | Amount of storage to allocate for the Observability stack. 50Gi |