graphite
by Helm
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.
| Parameter | Description | Default |
|---|---|---|
image.repository | Docker image repo | graphiteapp/graphite-statsd |
image.tag | Docker image | 1.1.5-4 |
image.pullPolicy | Docker image pull policy | IfNotPresent |
service.type | Service type | ClusterIP |
service.port | Service port of Graphite UI | 8080 |
service.annotations | Service annotations | {} |
service.labels | Service labels | {} |
persistence.enabled | Enable config persistence using PVC | true |
persistence.storageClass | PVC Storage Class for config volume | nil |
persistence.existingClaim | Name of an existing PVC to use for config | nil |
persistence.accessMode | PVC Access Mode for config volume | ReadWriteOnce |
persistence.size | PVC Storage Request for config volume | 10Gi |
resources | Resource limits for Graphite pod | {} |
ingress.enabled | Ingress enabled | false |
ingress.annotations | Ingress annotations | {} |
ingress.path | Ingress path | / |
ingress.hosts | Ingress hosts | [] |
ingress.tls | Ingress TLS | [] |
resources | Resources | {} |
nodeSelector | NodeSelector | {} |
tolerations | Tolerations | [] |
affinity | Affinity | {} |
env | Environment Values Passed to Pod | {} |
timeZone | Timezone | Etc/UTC |
initContainers | Init Containers | [] |
configMaps | Graphite Config files | see values.yaml |
statsdConfigMaps | StatsD Config files | see values.yaml |
statsd.interface | StatsD server interface, TCP or UDP | UDP |
configMaps | Graphite Config files | see values.yaml |
statsdConfigMaps | StatsD Config files | see values.yaml |
statsd.interface | StatsD server interface, TCP or UDP | UDP |
serviceAccount.accountName | Define the service account name | graphite |
serviceAccount.enabled | Enable service account (Note: Service Account will only be automatically created if serviceAccount.create is not set. | false |
serviceAccount.create | create service account with the template | false |
rbac.create | Enable RBAC rules | false |
psp.create | Whether 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgraphite is pinned at v1.1.0 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