diff options
Diffstat (limited to 'kubernetes/common/cassandra')
-rw-r--r-- | kubernetes/common/cassandra/templates/statefulset.yaml | 9 | ||||
-rw-r--r-- | kubernetes/common/cassandra/values.yaml | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/kubernetes/common/cassandra/templates/statefulset.yaml b/kubernetes/common/cassandra/templates/statefulset.yaml index 2e73309bb7..dff70820e9 100644 --- a/kubernetes/common/cassandra/templates/statefulset.yaml +++ b/kubernetes/common/cassandra/templates/statefulset.yaml @@ -27,15 +27,6 @@ spec: type: {{ .Values.updateStrategy.type }} template: metadata: {{- include "common.templateMetadata" . | nindent 6 }} - {{- if or .Values.podAnnotations (and .Values.metrics.serviceMonitor.enabled .Values.metrics.podAnnotations) }} - annotations: - {{- if .Values.podAnnotations }} - {{- include "common.tplValue" (dict "value" .Values.podAnnotations "context" $) | nindent 8 }} - {{- end }} - {{- if and .Values.metrics.serviceMonitor.enabled .Values.metrics.podAnnotations }} - {{- include "common.tplValue" (dict "value" .Values.metrics.podAnnotations "context" $) | nindent 8 }} - {{- end }} - {{- end }} spec: hostNetwork: {{ .Values.hostNetwork }} imagePullSecrets: diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml index 13137a182b..66e6d795cc 100644 --- a/kubernetes/common/cassandra/values.yaml +++ b/kubernetes/common/cassandra/values.yaml @@ -151,6 +151,9 @@ podAnnotations: traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001" traffic.sidecar.istio.io/includeInboundPorts: '*' traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001" + prometheus.io/scrape: 'true' + prometheus.io/port: '8080' + podManagementPolicy: OrderedReady updateStrategy: type: RollingUpdate |