Files
truecharts/charts/incubator/mimir/values.yaml
T
Lukas HolznerandGitHub 9e1f365a85 fix(mimir): merged resources for chunks-cache (#18697)
**Description**
I merged the chunks-cache resources into one because yaml requires a
unique key.
⚒️ Fixes  Failing CI Pipeline

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
I have not changed the functionality but only moved lines. I have not
tested it.

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ]#️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2024-02-27 10:15:17 +01:00

248 lines
5.2 KiB
YAML

image:
repository: tccr.io/truecharts/scratch
pullPolicy: IfNotPresent
tag: 18.0.1@sha256:49df5708d7fc085acf76c7868f10f25fa7ba947c8a7d3354a97207ba69c85cc3
service:
main:
enabled: false
ports:
main:
enabled: false
workload:
main:
enabled: false
podSpec:
containers:
main:
enabled: false
portal:
open:
enabled: false
configmap:
grafana-datasource:
enabled: "{{ if .Values.grafana.datasource.enabled }}true{{ else }}false{{ end }}"
labels:
grafana_datasources: "1"
data:
datasource.yaml: |-
apiVersion: 1
datasources:
- name: Mimir
type: prometheus
uid: {{ .Values.grafana.datasource.uid | default "prometheus" }}
url: http://{{ if ne .Release.Name "mimir" }}{{ .Release.Name }}-{{ end }}mimir-nginx.{{ .Release.Namespace }}/prometheus
access: proxy
isDefault: {{ .Values.grafana.datasource.default | default true }}
jsonData:
httpMethod: {{ .Values.grafana.datasource.httpMethod | default "POST" }}
timeInterval: {{ .Values.grafana.datasource.scrapeInterval | default "30s" }}
{{- if .Values.grafana.datasource.timeout }}
timeout: {{ .Values.grafana.datasource.timeout }}
{{- end }}
httpHeaderName1: 'X-Scope-OrgID'
secureJsonData:
httpHeaderValue1: 'metamonitoring'
grafana:
datasource:
enabled: true
default: true
httpMethod: "POST"
scrapeInterval: "30s"
uid: "prometheus"
# -- Mimir chart values. Resources are set to a minimum by default.
mimir:
metaMonitoring:
# Dashboard configuration for deploying Grafana dashboards for Mimir
dashboards:
enabled: true
annotations: {}
serviceMonitor:
enabled: true
grafanaAgent:
enabled: true
installOperator: false
alertmanager:
persistentVolume:
enabled: true
replicas: 2
resources:
limits:
cpu: 1.4
memory: 1.4Gi
requests:
cpu: 20m
memory: 10Mi
statefulSet:
enabled: true
compactor:
persistentVolume:
size: 20Gi
resources:
limits:
cpu: 1.4
memory: 2.1Gi
requests:
cpu: 20m
memory: 10Mi
distributor:
replicas: 2
resources:
limits:
cpu: 3.5
memory: 5.7Gi
requests:
cpu: 20m
memory: 10Mi
ingester:
persistentVolume:
size: 50Gi
replicas: 3
resources:
limits:
cpu: 5
memory: 12Gi
requests:
cpu: 20m
memory: 10Mi
topologySpreadConstraints: {}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: target
operator: In
values:
- ingester
topologyKey: 'kubernetes.io/hostname'
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/component
operator: In
values:
- ingester
topologyKey: 'kubernetes.io/hostname'
zoneAwareReplication:
topologyKey: 'kubernetes.io/hostname'
admin-cache:
enabled: true
replicas: 2
chunks-cache:
enabled: true
replicas: 2
resources:
requests:
cpu: 20m
memory: 10Mi
index-cache:
enabled: true
replicas: 3
metadata-cache:
enabled: true
results-cache:
enabled: true
minio:
enabled: true
overrides_exporter:
replicas: 1
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 20m
memory: 10Mi
querier:
replicas: 1
resources:
limits:
cpu: 2.8
memory: 5.6Gi
requests:
cpu: 20m
memory: 10Mi
query_frontend:
replicas: 1
resources:
limits:
cpu: 2.8
memory: 2.8Gi
requests:
cpu: 20m
memory: 10Mi
ruler:
replicas: 1
resources:
limits:
cpu: 1.4
memory: 2.8Gi
requests:
cpu: 20m
memory: 10Mi
store_gateway:
persistentVolume:
size: 10Gi
replicas: 3
resources:
limits:
cpu: 1.4
memory: 2.1Gi
requests:
cpu: 20m
memory: 10Mi
topologySpreadConstraints: {}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: target
operator: In
values:
- store-gateway
topologyKey: 'kubernetes.io/hostname'
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/component
operator: In
values:
- store-gateway
topologyKey: 'kubernetes.io/hostname'
zoneAwareReplication:
topologyKey: 'kubernetes.io/hostname'
nginx:
replicas: 1
resources:
limits:
cpu: 1.4
memory: 731Mi
requests:
cpu: 20m
memory: 10Mi