openobserve
by mshade
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":
- Customize values.yaml
- Set
auth.initialPasswordif desired - Configure object storage via
config.ZO_S3_vars
- Set
helm repo add mshade-openobserve https://mshade.github.io/openobserve-charthelm 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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| auth.initialPassword | string | "" | A random initial password will be set if left empty |
| auth.passwordSecret | string | "" | A secret containing a password key to use as the admin password |
| auth.rootUserEmail | string | "[email protected]" | email address for root user |
| config | object | {"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 |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "public.ecr.aws/zinclabs/openobserve" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| livenessProbe | object | {} | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podSecurityContext.fsGroup | int | 2000 | |
| podSecurityContext.fsGroupChangePolicy | string | "OnRootMismatch" | |
| podSecurityContext.runAsGroup | int | 3000 | |
| podSecurityContext.runAsNonRoot | bool | true | |
| podSecurityContext.runAsUser | int | 10000 | |
| readinessProbe | object | {} | |
| resources.limits.cpu | string | "4096m" | |
| resources.limits.memory | string | "2048Mi" | |
| resources.requests.cpu | string | "256m" | |
| resources.requests.memory | string | "50Mi" | |
| securityContext | object | {} | |
| service.port | int | 80 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| storage.dataDir | string | "/data" | |
| storage.storageClassName | string | "" | |
| storage.volumeSize | string | "10Gi" | |
| tolerations | list | [] |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopenobserve is pinned at v0.1.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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