Skip to content

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',
    },
  },
}
FieldDescription / Default
annotations.deploymentAnnotations added at the topmost level of all deployments.
{}
annotations.ingressAnnotations added to all ingresses.
{}
annotations.podAnnotations added to all pods.
{}
envEnvironment variables added to all pods.
{}
ingress.classNameClass name added to all ingress resources.
undefined
labels.deploymentLabels added at the topmost level of all deployments.
{}
labels.podLabels added to all pods.
{}
labels.selectorSelector used for all shared k8s resources.
{'app.kubernetes.io/name': 'observability'}
nameName used for the shared k8s resources.
observability
security.tls.enabledEnables TLS, creating a certificate to access all endpoints over HTTPS.
false
security.tls.issuerIssuer or ClusterIssuer where the certificate is requested. See cert-manager documentation on how to set one up.
<fill with certificate issuer>
storage.class.nameName of the storage class.
observability
storage.class.parametersExtra parameters of the storage class.
undefined
storage.class.provisionerProvisioner of the storage class.
undefined
storage.nameName used for the PV and PVC k8s resources.
observability
storage.nfs.serverAddress to an NFS which is used instead of the host.
undefined
storage.pathPath on the host or NFS where the data is stored.
/opt/observability
storage.reclaimPolicyThe reclaim policy of the volume, which defines what happens when the volume is deleted.
Retain
storage.sizeAmount of storage to allocate for the Observability stack.
50Gi