annotations (#610)

This commit is contained in:
Artem Nosulchyk 2025-05-13 19:35:44 -04:00 committed by GitHub
parent 57fa527b04
commit 8382906775
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View File

@ -45,6 +45,9 @@ spec:
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.oxia.coordinator.ports.metrics }}"
{{- end }}
{{- with .Values.oxia.coordinator.annotations }}
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- if .Values.oxia.server.nodeSelector }}
nodeSelector:

View File

@ -45,6 +45,9 @@ spec:
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.oxia.server.ports.metrics }}"
{{- end }}
{{- with .Values.oxia.server.annotations }}
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- if .Values.oxia.server.nodeSelector }}
nodeSelector:

View File

@ -503,6 +503,8 @@ oxia:
coordinator:
# annotations for the app (statefulset/deployment)
appAnnotations: {}
# pods annotations
annotations: {}
# This is how Victoria Metrics or Prometheus discovers this component
podMonitor:
enabled: true
@ -527,6 +529,8 @@ oxia:
server:
# annotations for the app (statefulset/deployment)
appAnnotations: {}
# pods annotations
annotations: {}
# This is how Victoria Metrics or Prometheus discovers this component
podMonitor:
enabled: true