tfy-loki
by TrueFoundry
Helm chartv0.1.6Verified publisher
Truefoundry Loki Provisioner
About this chart
Loki and Promtail charts packaged by Truefoundry.
Loki configurations
https://github.com/grafana/loki/blob/c6a909b0ec52f2323f161e458e1fff99e9a1e6c0/production/helm/loki/values.yaml
Promtail configurations
https://github.com/grafana/helm-charts/tree/8b9ca8240e4e412f72af2df42f833c94142a3d70/charts/promtail
Parameters
Upstream Loki configurations
| Name | Description | Value |
|---|---|---|
loki.enabled | Enable loki | true |
loki.loki.storage.type | Method to use for storage | filesystem |
loki.loki.compactor.shared_store | The shared store used for storing boltdb files. | filesystem |
loki.loki.compactor.retention_enabled | Activate custom (per-stream,per-tenant) retention. | true |
loki.loki.auth_enabled | Enables authentication through the X-Scope-OrgID header | false |
loki.loki.limits_config.retention_period | Retention period to apply to stored data. | 168h |
loki.loki.limits_config.max_query_lookback | Limit how far back in time series data and metadata can be queried, up until lookback duration ago. | 168h |
loki.loki.limits_config.split_queries_by_interval | Split queries by a time interval and execute in parallel. | 10h |
loki.loki.limits_config.max_entries_limit_per_query | Maximum number of log entries that will be returned for a query. | 30000 |
loki.singleBinary.replicas | Number of replicas for the single binary | 1 |
loki.singleBinary.resources.requests.cpu | CPU requests for promtail container | 0.2 |
loki.singleBinary.resources.requests.memory | Memory requests for promtail container | 810Mi |
loki.singleBinary.resources.limits.cpu | CPU limits for promtail container | 0.4 |
loki.singleBinary.resources.limits.memory | Memory limits for promtail container | 1620Mi |
loki.singleBinary.persistence.size | Size of persistent disk | 50Gi |
loki.singleBinary.persistence.enableStatefulSetAutoDeletePVC | Enable StatefulSetAutoDeletePVC feature | true |
promtail.enabled | Enable promtail | true |
promtail.config.clients[0].url | Loki push API URL | http://loki:3100/loki/api/v1/push |
promtail.resources.requests.cpu | CPU requests for promtail container | 100m |
promtail.resources.requests.memory | Memory requests for promtail container | 512Mi |
promtail.resources.requests.ephemeral-storage | Ephemeral storage requests for promtail container | 256Mi |
promtail.resources.limits.cpu | CPU limits for promtail container | 200m |
promtail.resources.limits.memory | Memory limits for promtail container | 1024Mi |
Deploy tfy-loki with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tfy-loki 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 charttfy-loki is pinned at v0.1.6 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