truefoundry-monitoring

by TrueFoundry

Helm chartv0.1.6Verified publisher

Monitoring stack for TrueFoundry control plane - Prometheus, Logs, and Grafana

About this chart

Truefoundry Control Plane Monitoring helm chart packaged by Truefoundry

This Helm chart package, provided by TrueFoundry, contains the components needed to monitor the control plane components

Parameters

Global configuration

NameDescriptionValue
global.controlPlaneNamespaceNamespace where TrueFoundry control plane is deployedtruefoundry
global.imagePullSecretsGlobal image pull secrets[]
global.truefoundryImagePullConfigJSONJSON config for truefoundry image pull secret (auto-creates secret)""

External Services

NameDescriptionValue
externalServices.prometheus.urlURL of an existing Prometheus instance. Must be set if prometheus.enabled=false. Example: http://prometheus-kube-prometheus-prometheus.prometheus.svc.cluster.local:9090""
externalServices.victoriaLogs.urlURL of an existing VictoriaLogs instance. Must be set if logs.enabled=false. Example: http://tfy-logs-victoria-logs-single-server.tfy-logs.svc.cluster.local:9428""

Prometheus (kube-prometheus-stack) configuration

NameDescriptionValue
prometheus.enabledInstall a dedicated Prometheus for control plane monitoringtrue
prometheus.nameOverrideOverride the subchart name so the parent chart helpers can predict service names correctly. The kube-prometheus-stack subchart's .Chart.Name is "kube-prometheus-stack" regardless of the alias, so this override keeps names aligned.prometheus
prometheus.fullnameOverrideOverride the subchart fullname. Leave empty to use the default (-) naming.""
prometheus.cleanPrometheusOperatorObjectNamesClean object names (avoids redundant suffixes)true
prometheus.kubeStateMetrics.enabledEnable kube-state-metricstrue
prometheus.crds.enabledSet to false if Prometheus Operator CRDs already existtrue
prometheus.alertmanager.enabledEnable alertmanagerfalse
prometheus.prometheusOperator.enabledEnable Prometheus Operatortrue
prometheus.prometheusOperator.resourcesResources for Prometheus Operator{}
prometheus.prometheus.prometheusSpec.retentionData retention period15d
prometheus.prometheus.prometheusSpec.retentionSizeMaximum storage size before oldest data is removed""
prometheus.prometheus.prometheusSpec.resourcesResources for Prometheus server{}
prometheus.prometheus.prometheusSpec.storageSpecStorage configuration{}
prometheus.prometheus.prometheusSpec.serviceMonitorNamespaceSelectorNamespace selector for ServiceMonitors{}
prometheus.prometheus.prometheusSpec.podMonitorNamespaceSelectorNamespace selector for PodMonitors{}
prometheus.prometheus.prometheusSpec.ruleNamespaceSelectorNamespace selector for PrometheusRules{}
prometheus.prometheus.prometheusSpec.additionalScrapeConfigsSecretReference to the generated scrape config Secret{}
prometheus.prometheus.prometheusSpec.affinityAffinity for Prometheus pods{}
prometheus.prometheus.prometheusSpec.tolerationsTolerations for Prometheus pods[]
prometheus.prometheus.prometheusSpec.nodeSelectorNode selector for Prometheus pods{}

Logs (tfy-logs) configuration

NameDescriptionValue
logs.enabledInstall a dedicated VictoriaLogs + Vector for control plane logstrue

logs.victoria-logs-single VictoriaLogs subchart configuration

NameDescriptionValue
logs.victoria-logs-single.global.image.registryImage registry for VictoriaLogstfy.jfrog.io/tfy-mirror
logs.victoria-logs-single.server.image.registryImage registrytfy.jfrog.io/tfy-mirror
logs.victoria-logs-single.server.retentionPeriodRetention period for logs15d
logs.victoria-logs-single.server.retentionMaxDiskUsagePercentMaximum disk usage percentage for retention85
logs.victoria-logs-single.server.persistentVolume.sizePersistent volume size50Gi
logs.victoria-logs-single.server.resourcesResources for VictoriaLogs server{}
logs.victoria-logs-single.server.affinityAffinity for VictoriaLogs server{}
logs.victoria-logs-single.server.tolerationsTolerations for VictoriaLogs server[]
logs.victoria-logs-single.vector.enabledEnable Vector for log collectiontrue
logs.victoria-logs-single.vector.podPriorityClassNamePod priority class namesystem-node-critical
logs.victoria-logs-single.vector.image.repositoryImage repositorypublic.ecr.aws/truefoundrycloud/timberio/vector
logs.victoria-logs-single.vector.image.tagImage tagv0.52.0
logs.victoria-logs-single.vector.resourcesResources for Vector{}
logs.victoria-logs-single.vector.podSecurityContextPod-level security context for Vector{}
logs.victoria-logs-single.vector.securityContextContainer-level security context for Vector{}
logs.victoria-logs-single.vector.affinityAffinity for Vector pods{}
logs.victoria-logs-single.vector.tolerationsTolerations for Vector pods[]
logs.victoria-logs-single.vector.nodeSelectorNode selector for Vector pods{}
logs.victoria-logs-single.vector.customConfigCustom Vector config scoped to control plane{}

Grafana configuration

NameDescriptionValue
grafana.enabledEnable Grafana for control plane dashboardstrue
grafana.pluginsGrafana plugins to install[]
grafana.replicasNumber of Grafana replicas1
grafana.useStatefulSetUse StatefulSet for Grafanatrue
grafana.resources

Deploy truefoundry-monitoring with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has truefoundry-monitoring 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 charttruefoundry-monitoring is pinned at v0.1.6 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