annotations (#610)
This commit is contained in:
parent
57fa527b04
commit
8382906775
@ -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:
|
||||
@ -74,4 +77,4 @@ spec:
|
||||
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
|
||||
readinessProbe:
|
||||
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@ -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:
|
||||
@ -147,4 +150,4 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.oxia.server.storageSize }}
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user