annotations (#610)
This commit is contained in:
parent
57fa527b04
commit
8382906775
@ -45,6 +45,9 @@ spec:
|
|||||||
prometheus.io/scrape: "true"
|
prometheus.io/scrape: "true"
|
||||||
prometheus.io/port: "{{ .Values.oxia.coordinator.ports.metrics }}"
|
prometheus.io/port: "{{ .Values.oxia.coordinator.ports.metrics }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.oxia.coordinator.annotations }}
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.oxia.server.nodeSelector }}
|
{{- if .Values.oxia.server.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@ -74,4 +77,4 @@ spec:
|
|||||||
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
|
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
|
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -45,6 +45,9 @@ spec:
|
|||||||
prometheus.io/scrape: "true"
|
prometheus.io/scrape: "true"
|
||||||
prometheus.io/port: "{{ .Values.oxia.server.ports.metrics }}"
|
prometheus.io/port: "{{ .Values.oxia.server.ports.metrics }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.oxia.server.annotations }}
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.oxia.server.nodeSelector }}
|
{{- if .Values.oxia.server.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@ -147,4 +150,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.oxia.server.storageSize }}
|
storage: {{ .Values.oxia.server.storageSize }}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|||||||
@ -503,6 +503,8 @@ oxia:
|
|||||||
coordinator:
|
coordinator:
|
||||||
# annotations for the app (statefulset/deployment)
|
# annotations for the app (statefulset/deployment)
|
||||||
appAnnotations: {}
|
appAnnotations: {}
|
||||||
|
# pods annotations
|
||||||
|
annotations: {}
|
||||||
# This is how Victoria Metrics or Prometheus discovers this component
|
# This is how Victoria Metrics or Prometheus discovers this component
|
||||||
podMonitor:
|
podMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -527,6 +529,8 @@ oxia:
|
|||||||
server:
|
server:
|
||||||
# annotations for the app (statefulset/deployment)
|
# annotations for the app (statefulset/deployment)
|
||||||
appAnnotations: {}
|
appAnnotations: {}
|
||||||
|
# pods annotations
|
||||||
|
annotations: {}
|
||||||
# This is how Victoria Metrics or Prometheus discovers this component
|
# This is how Victoria Metrics or Prometheus discovers this component
|
||||||
podMonitor:
|
podMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user