graphite

by Helm

Helm chartv1.1.0App 1.1.10-3

Graphite metrics server

About this chart

Graphite

Graphite is a monitoring tool.

Introduction

This chart uses graphiteapp/graphite-statsd container to run Graphite inside Kubernetes.

Prerequisites

  • Has been tested on Kubernetes 1.9+

Installing the Chart

To install the chart with the release name graphite, run the following command:

$ helm install kiwigrid/graphite --name graphite

Uninstalling the Chart

To uninstall/delete the graphite deployment:

$ helm delete graphite

The command removes all the Kubernetes components associated with the chart and deletes the release.

Tip: To completely remove the release, run helm delete --purge graphite

Configuration

The following table lists the configurable parameters of the Graphite chart and their default values.

ParameterDescriptionDefault
image.repositoryDocker image repographiteapp/graphite-statsd
image.tagDocker image1.1.5-4
image.pullPolicyDocker image pull policyIfNotPresent
service.typeService typeClusterIP
service.portService port of Graphite UI8080
service.annotationsService annotations{}
service.labelsService labels{}
persistence.enabledEnable config persistence using PVCtrue
persistence.storageClassPVC Storage Class for config volumenil
persistence.existingClaimName of an existing PVC to use for confignil
persistence.accessModePVC Access Mode for config volumeReadWriteOnce
persistence.sizePVC Storage Request for config volume10Gi
resourcesResource limits for Graphite pod{}
ingress.enabledIngress enabledfalse
ingress.annotationsIngress annotations{}
ingress.pathIngress path/
ingress.hostsIngress hosts[]
ingress.tlsIngress TLS[]
resourcesResources{}
nodeSelectorNodeSelector{}
tolerationsTolerations[]
affinityAffinity{}
envEnvironment Values Passed to Pod{}
timeZoneTimezoneEtc/UTC
initContainersInit Containers[]
configMapsGraphite Config filessee values.yaml
statsdConfigMapsStatsD Config filessee values.yaml
statsd.interfaceStatsD server interface, TCP or UDPUDP
configMapsGraphite Config filessee values.yaml
statsdConfigMapsStatsD Config filessee values.yaml
statsd.interfaceStatsD server interface, TCP or UDPUDP
serviceAccount.accountNameDefine the service account namegraphite
serviceAccount.enabledEnable service account (Note: Service Account will only be automatically created if serviceAccount.create is not set.false
serviceAccount.createcreate service account with the templatefalse
rbac.createEnable RBAC rulesfalse
psp.createWhether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:

$ helm install --name graphite --set ingress.enabled=false kiwigrid/graphite

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart.

Storage persistence

Graphite itself is a stateful application that stores all related data in its own database. Therefore it uses a PVC to store data.

Help

For more information about Graphite visit the official website and the docs.

To find infos about the Docker container visit Github or Dockerhub.

Deploy graphite with OpenTenant

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