Skip to content

Commit 8382906

Browse files
authored
annotations (#610)
1 parent 57fa527 commit 8382906

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

charts/pulsar/templates/oxia-coordinator-deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ spec:
4545
prometheus.io/scrape: "true"
4646
prometheus.io/port: "{{ .Values.oxia.coordinator.ports.metrics }}"
4747
{{- end }}
48+
{{- with .Values.oxia.coordinator.annotations }}
49+
{{ toYaml . | indent 8 }}
50+
{{- end }}
4851
spec:
4952
{{- if .Values.oxia.server.nodeSelector }}
5053
nodeSelector:
@@ -74,4 +77,4 @@ spec:
7477
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
7578
readinessProbe:
7679
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
77-
{{- end }}
80+
{{- end }}

charts/pulsar/templates/oxia-server-statefulset.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ spec:
4545
prometheus.io/scrape: "true"
4646
prometheus.io/port: "{{ .Values.oxia.server.ports.metrics }}"
4747
{{- end }}
48+
{{- with .Values.oxia.server.annotations }}
49+
{{ toYaml . | indent 8 }}
50+
{{- end }}
4851
spec:
4952
{{- if .Values.oxia.server.nodeSelector }}
5053
nodeSelector:
@@ -147,4 +150,4 @@ spec:
147150
resources:
148151
requests:
149152
storage: {{ .Values.oxia.server.storageSize }}
150-
{{- end}}
153+
{{- end}}

charts/pulsar/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ oxia:
503503
coordinator:
504504
# annotations for the app (statefulset/deployment)
505505
appAnnotations: {}
506+
# pods annotations
507+
annotations: {}
506508
# This is how Victoria Metrics or Prometheus discovers this component
507509
podMonitor:
508510
enabled: true
@@ -527,6 +529,8 @@ oxia:
527529
server:
528530
# annotations for the app (statefulset/deployment)
529531
appAnnotations: {}
532+
# pods annotations
533+
annotations: {}
530534
# This is how Victoria Metrics or Prometheus discovers this component
531535
podMonitor:
532536
enabled: true

0 commit comments

Comments
 (0)