Skip to content

gh-abhay/mimir-single-binary-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[WIP][DO NOT USE] Mimir Single Binary Helm Chart

A Helm chart for deploying Grafana Mimir in single binary mode, suitable for small Kubernetes clusters.

Introduction

This chart deploys Mimir as a single binary application, running all components (ingester, querier, ruler, etc.) in one process. This is ideal for small deployments where the distributed mode is overkill.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+

Installing the Chart

To install the chart with the release name mimir:

helm install mimir ./mimir-single-binary

Uninstalling the Chart

To uninstall the chart:

helm uninstall mimir

Configuration

The following table lists the configurable parameters of the Mimir Single Binary chart and their default values.

Global Parameters

Parameter Description Default
deployment.type Type of deployment: deployment, statefulset, or daemonset deployment
deployment.replicas Number of replicas (ignored for daemonset) 1
deployment.image.repository Mimir image repository grafana/mimir
deployment.image.tag Mimir image tag "" (uses Chart.AppVersion)
deployment.image.pullPolicy Image pull policy IfNotPresent
deployment.resources.requests.cpu CPU request 100m
deployment.resources.requests.memory Memory request 128Mi
deployment.resources.limits.cpu CPU limit 1000m
deployment.resources.limits.memory Memory limit 1Gi
deployment.extraEnv Additional environment variables []
deployment.extraVolumes Additional volumes []
deployment.extraVolumeMounts Additional volume mounts []
deployment.nodeSelector Node selector {}
deployment.tolerations Tolerations []
deployment.affinity Affinity {}

Persistence

Parameter Description Default
persistence.enabled Enable persistence (for statefulset) false
persistence.size PVC size 10Gi
persistence.storageClass Storage class ""

Service

Parameter Description Default
service.type Service type: ClusterIP, NodePort, LoadBalancer ClusterIP
service.port HTTP port 8080
service.grpcPort gRPC port 9095
service.annotations Service annotations {}

Ingress

Parameter Description Default
ingress.enabled Enable ingress false
ingress.className Ingress class name ""
ingress.annotations Ingress annotations {}
ingress.hosts Ingress hosts []
ingress.tls Ingress TLS []

Mimir Configuration

Parameter Description Default
mimir.target Mimir target mode all
mimir.args List of arguments to pass to Mimir (examples provided for S3) See values.yaml

Examples

Deploy as DaemonSet

deployment:
  type: daemonset

Enable Ingress

ingress:
  enabled: true
  hosts:
    - host: mimir.example.com
      paths:
        - path: /
          pathType: Prefix

Use NodePort Service

service:
  type: NodePort

Enable Persistence (StatefulSet)

deployment:
  type: statefulset
persistence:
  enabled: true
  size: 50Gi

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

Simple Helm chart for deploying Mimir in single-binary mode, running all components in a single pod.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages