tfy-logs
by TrueFoundry
Helm chartv0.1.22Verified publisher
Truefoundry Logs chart
About this chart
Truefoundry Logs
This Helm chart deploys a centralized logging solution for Truefoundry using VictoriaLogs as the backend storage and Vector as the log collection agent.
Overview
The tfy-logs chart provides:
- Centralized log collection from all Kubernetes pods
- Log storage with configurable retention period
- Log parsing and structured storage
- Efficient log querying capabilities
Architecture
The solution consists of two main components:
- VictoriaLogs Server: A high-performance, cost-effective log storage and search system
- Vector Agents: DaemonSet that collects logs from all nodes and forwards them to VictoriaLogs
Prerequisites
- Kubernetes 1.30+
- Helm 3.1.0+
- PV provisioner support in the underlying infrastructure
Upgrade Notes
- When upgrading the chart version, ensure that the timberio vector image has been pushed to public.ecr.aws/truefoundrycloud/timberio/vector:
Installation
Parameters
Global configuration
| Name | Description | Value |
|---|---|---|
global.imagePullSecrets | Global image pull secrets | [] |
Upstream VictoriaLogs configurations
| Name | Description | Value |
|---|---|---|
victoria-logs-single.enabled | Enable victoria-logs-single | true |
victoria-logs-single.global.image.registry | Image registry | tfy.jfrog.io/tfy-mirror |
victoria-logs-single.server.image.registry | Image registry | tfy.jfrog.io/tfy-mirror |
victoria-logs-single.server.retentionPeriod | Retention period | 15d |
victoria-logs-single.server.retentionMaxDiskUsagePercent | Maximum disk usage percentage for retention | 85 |
victoria-logs-single.server.persistentVolume.size | Persistent volume size | 50Gi |
victoria-logs-single.server.resources | Resources | {} |
victoria-logs-single.server.affinity | Affinity | {} |
victoria-logs-single.server.tolerations | Tolerations | [] |
victoria-logs-single.vector.resources | Resources | {} |
victoria-logs-single.vector.podPriorityClassName | Pod priority class name | system-node-critical |
victoria-logs-single.vector.image.repository | Image repository | public.ecr.aws/truefoundrycloud/timberio/vector |
victoria-logs-single.vector.image.tag | Image tag | v0.52.0 |
victoria-logs-single.vector.enabled | Enable vector | true |
victoria-logs-single.vector.podSecurityContext | Pod-level security context for Vector | {} |
victoria-logs-single.vector.securityContext | Container-level security context for Vector | {} |
victoria-logs-single.vector.affinity | Affinity | {} |
victoria-logs-single.vector.tolerations | Tolerations | [] |
victoria-logs-single.vector.nodeSelector | Node selector | {} |
victoria-logs-single.vector.customConfig | Custom config | {} |
Windows Vector configurations
| Name | Description | Value |
|---|---|---|
windowsVector.enabled | Enable Windows Vector daemon set for Windows node log collection | true |
windowsVector.labels | Labels to add to the Windows Vector pods | {} |
windowsVector.annotations | Annotations to add to the Windows Vector pods | {} |
windowsVector.image.registry | Image registry | public.ecr.aws |
windowsVector.image.repository | Image repository | truefoundrycloud/timberio/vector |
windowsVector.image.tag | Image tag | v0.50.0 |
windowsVector.image.pullPolicy | Image pull policy | IfNotPresent |
windowsVector.imagePullSecrets | Image pull secrets for Windows Vector pods | [] |
windowsVector.env | Additional environment variables for Windows Vector pods | [] |
windowsVector.resources | Resources for Windows Vector pods | {} |
windowsVector.nodeSelector | Node selector | {} |
windowsVector.podPriorityClassName | Pod priority class name for Windows Vector pods | "" |
windowsVector.affinity | Affinity configuration for Windows Vector pods | {} |
windowsVector.configMapName | Name of the ConfigMap containing Vector config to mount on Windows Vector pods. Defaults to the ConfigMap created by the victoria-logs-single subchart (vector.customConfigName, vector-vl-config in v0.11.x; was vl-config in older versions). | vector-vl-config |
windowsVector.additionalVolumeMounts | Additional volume mounts for Windows Vector pods | [] |
windowsVector.additionalVolumes | Additional volumes for Windows Vector pods | [] |
resourceQuota Add a ResourceQuota to enable priority class in a namespace.
resourceQuota Add a ResourceQuota to enable priority class in a namespace.
| Name | Description | Value |
|---|---|---|
resourceQuota.enabled | Create the ResourceQuota. | true |
resourceQuota.annotations | Annotations to add to the ResourceQuota | {} |
resourceQuota.labels | Labels to add to the ResourceQuota | {} |
resourceQuota.priorityClasses | PriorityClasses to enable. | ["system-node-critical"] |
extraManifests | Extra manifests to deploy alongside the chart | [] |
Deploy tfy-logs with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tfy-logs 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-logs is pinned at v0.1.22 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