Skip to content

Commit 5ca3479

Browse files
committed
add zone specific ingester annotations and podAnnotations
Signed-off-by: Sean Ringel <[email protected]>
1 parent 0b2c5a7 commit 5ca3479

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

charts/tempo-distributed/templates/ingester/statefulset-ingester.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ metadata:
1515
{{- if .Values.ingester.zoneAwareReplication.enabled }}
1616
annotations:
1717
{{- include "ingester.Annotations" $dict | nindent 4}}
18+
{{- with $rolloutZone.annotations }}:
19+
{{- toYaml . | nindent 4 }}
20+
{{- end }}
1821
{{- else }}
1922
{{- with .Values.ingester.annotations }}
2023
annotations:
@@ -51,6 +54,9 @@ spec:
5154
{{- with .Values.ingester.podAnnotations }}
5255
{{- toYaml . | nindent 8 }}
5356
{{- end }}
57+
{{- with $rolloutZone.podAnnotations }}:
58+
{{- toYaml . | nindent 8 }}
59+
{{- end }}
5460
spec:
5561
{{- if or (.Values.ingester.priorityClassName) (.Values.global.priorityClassName) }}
5662
priorityClassName: {{ default .Values.ingester.priorityClassName .Values.global.priorityClassName }}

charts/tempo-distributed/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ ingester:
302302
# If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning
303303
# If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`.
304304
storageClass: null
305+
# -- Specific annotations to add to zone-a statefulset
306+
annotations: {}
307+
# -- Specific annotations to add to zone-a pods
308+
podAnnotations: {}
305309
# -- Name of the zone, used in labels and selectors. Must follow Kubernetes naming restrictions: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
306310
- name: zone-b
307311
# -- nodeselector to restrict where pods of this zone can be placed. E.g.:
@@ -315,6 +319,10 @@ ingester:
315319
# If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning
316320
# If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`.
317321
storageClass: null
322+
# -- Specific annotations to add to zone-b statefulset
323+
annotations: {}
324+
# -- Specific annotations to add to zone-b pods
325+
podAnnotations: {}
318326
# -- Name of the zone, used in labels and selectors. Must follow Kubernetes naming restrictions: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
319327
- name: zone-c
320328
# -- nodeselector to restrict where pods of this zone can be placed. E.g.:
@@ -328,6 +336,10 @@ ingester:
328336
# If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning
329337
# If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`.
330338
storageClass: null
339+
# -- Specific annotations to add to zone-c statefulset
340+
annotations: {}
341+
# -- Specific annotations to add to zone-c pods
342+
podAnnotations: {}
331343

332344
# Configuration for the metrics-generator
333345
metricsGenerator:

0 commit comments

Comments
 (0)