fluentd

by slamdev

Helm chartv0.0.6App v1.11.5

Helm chart to deploy [fluentd](http://www.fluentd.org/).

About this chart

fluentd

Helm chart to deploy fluentd.

Homepage: https://github.com/slamdev/helm-charts/tree/master/charts/fluentd

Maintainers

NameEmailUrl
slamdev[email protected]

Values

KeyTypeDefaultDescription
affinityobject{}affinity for scheduler pod assignment
containerPortslist[{"containerPort":8888,"name":"http","protocol":"TCP"},{"containerPort":24231,"name":"http-monitoring","protocol":"TCP"}]ports exposed by container
deploymentAnnotationsobject{}annotations to add to the deployment
envlist[]additional environment variables for the deployment
fluentdConfstring"<source>\n @type prometheus\n</source>\n<source>\n @type prometheus_monitor\n</source>\n<source>\n @type prometheus_output_monitor\n</source>\n<source>\n @type http\n port 8888\n</source>"fluentd config to provision inside of the container
fullnameOverridestring""full name of the chart.
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"fluent/fluentd-kubernetes-daemonset"image repository
image.tagstring""image tag (chart's appVersion value will be used if not set)
imagePullSecretslist[]image pull secret for private images
kindstring"Deployment"resource type to operate fluentd, can be StatefulSet or Deployment
livenessProbe.httpGet.pathstring"/metrics"path for liveness probe
livenessProbe.httpGet.portstring"http-monitoring"port for liveness probe
nameOverridestring""override name of the chart
nodeSelectorobject{}node for scheduler pod assignment
pluginslist[]list of plugins to be installed when container starts
podAnnotationsobject{}annotations to add to the pod
podSecurityContextobject{}specifies security settings for a pod
readinessProbe.httpGet.pathstring"/metrics"path for readiness probe
readinessProbe.httpGet.portstring"http-monitoring"port for readiness probe
replicaCountint1number of replicas for fluentd deployment.
resourcesobject{}custom resource configuration
securityContextobject{}specifies security settings for a container
service.portslist[{"name":"http","port":80,"protocol":"TCP","targetPort":"http"},{"name":"http-monitoring","port":24231,"protocol":"TCP","targetPort":"http-monitoring"}]service ports
service.typestring"ClusterIP"service type
serviceAccount.annotationsobject{}annotations to add to the service account
serviceAccount.createboolfalsespecifies whether a service account should be created
serviceAccount.namestringnilthe name of the service account to use; if not set and create is true, a name is generated using the fullname template
serviceMonitor.additionalLabelsobject{}additional labels for service monitor
serviceMonitor.enabledboolfalseServiceMonitor CRD is created for a prometheus operator
tolerationslist[]tolerations for scheduler pod assignment
volumeClaimTemplateslist[]volume claim templates; used only when 'kind: StatefulSet'
volumeMountslist[]additional volume mounts
volumeslist[]additional volumes

Deploy fluentd with OpenTenant

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