openobserve

by mshade

Helm chartv0.1.10App v0.8.1

Helm chart for single-node deployment of OpenObserve observability platform

About this chart

openobserve

Helm chart for single-node deployment of OpenObserve observability platform

Additional Information

The official OpenObserve chart supports HA operation, but contains many more components. This is a simpler alternative which still provides more flexibility than the bare k8s manifests. It runs OpenObserve in single-node mode.

See the official project repo for operation and configuring ingestion of logs, metrics, and traces. Environment variables for configuration can be referenced here.

Using an object store like S3 is highly recommended even for small installations, as filling the /data volume can result in database corruption.

Installing the Chart

To install the chart as "openobserve" in the namespace "openobserve":

  1. Customize values.yaml
    • Set auth.initialPassword if desired
    • Configure object storage via config.ZO_S3_ vars
  2. helm repo add mshade-openobserve https://mshade.github.io/openobserve-chart
  3. helm install openobserve mshade-openobserve/openobserve -f values.yaml -n openobserve --create-namespace

An initial root user password will be generated for you, or can be specified at install time with --set auth.initialPassword=supersecret. Alternatively, create a Kubernetes secret with your desired password defined as the password key and pass the name of this secret via --set auth.passwordSecret=<secret-name>.

If none is specified, retrieve the password from the generated secret:

$ kubectl -n openobserve get secret initial-root-password -ojsonpath="{.data.password}" | base64 -d

Values

KeyTypeDefaultDescription
affinityobject{}
auth.initialPasswordstring""A random initial password will be set if left empty
auth.passwordSecretstring""A secret containing a password key to use as the admin password
auth.rootUserEmailstring"[email protected]"email address for root user
configobject{"ZO_S3_ACCESS_KEY":"","ZO_S3_BUCKET_NAME":"","ZO_S3_REGION_NAME":"","ZO_S3_SECRET_KEY":"","ZO_S3_SERVER_URL":""}Env vars for OpenObserve configuration see https://github.com/openobserve/openobserve-helm-chart/blob/main/values.yaml#L70
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"public.ecr.aws/zinclabs/openobserve"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
livenessProbeobject{}
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContext.fsGroupint2000
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
podSecurityContext.runAsGroupint3000
podSecurityContext.runAsNonRootbooltrue
podSecurityContext.runAsUserint10000
readinessProbeobject{}
resources.limits.cpustring"4096m"
resources.limits.memorystring"2048Mi"
resources.requests.cpustring"256m"
resources.requests.memorystring"50Mi"
securityContextobject{}
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
storage.dataDirstring"/data"
storage.storageClassNamestring""
storage.volumeSizestring"10Gi"
tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.13.1

Deploy openobserve with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openobserve on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenobserve is pinned at v0.1.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply