This Helm chart deploys a standalone instance of Grafana Mimir, configured to run in non-distributed mode. It provides flexibility for users to customize their Grafana Mimir instance by allowing custom configurations through the config field in the values.yaml file.
- Customizable Configuration: Add your own Grafana Mimir settings using the
configfield invalues.yaml. - StatefulSet Deployment: Ensures stability and persistent identity for each Grafana Mimir pod.
- Kubernetes 1.20+
- Helm 3.0+
Clone the repository. To install the chart:
helm install <release-name> . -f values.yaml [-f custom-values.yaml]To uninstall the chart:
helm uninstall <release-name>The following table lists the configurable parameters of the chart and their default values:
| Parameter | Description | Default |
|---|---|---|
replicaCount |
Number of replicas for the StatefulSet | 1 |
image.repository |
Grafana Mimir image repository | grafana/mimir |
image.tag |
Grafana Mimir image tag | latest |
image.pullPolicy |
Image pull policy | IfNotPresent |
config |
Custom Grafana Mimir configuration | {} |
resources |
Resource requests and limits | {} |
service.type |
Kubernetes service type | ClusterIP |
service.port |
Port for accessing Grafana Mimir | 8080 |
To override these values, create a custom-values.yaml file and provide your own settings:
replicaCount: 1
config:
retention:
retentionPeriod: 1dThen install the chart with your custom values:
helm install <release-name> . -f values.yaml -f custom-values.yamlConfig file is mounted at /etc/mimir.yaml.
This chart uses a StatefulSet instead of a Deployment to ensure consistent identity and persistent storage for each Grafana Mimir pod. This is essential for stable operation in standalone mode.
Here's an example values.yaml file to deploy Grafana Mimir with custom settings:
replicaCount: 1
config:
retention:
retentionPeriod: 1d
resources:
requests:
memory: "2Gi"
cpu: "1"
limits:
memory: "4Gi"
cpu: "2"
service:
type: LoadBalancerFor questions or issues with this Helm chart, please open an issue in the chart repository.