diff --git a/charts/prometheus-yet-another-cloudwatch-exporter/Chart.yaml b/charts/prometheus-yet-another-cloudwatch-exporter/Chart.yaml index c6ece904787c..9991833d538b 100644 --- a/charts/prometheus-yet-another-cloudwatch-exporter/Chart.yaml +++ b/charts/prometheus-yet-another-cloudwatch-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: prometheus-yet-another-cloudwatch-exporter description: Yace - Yet Another CloudWatch Exporter type: application -version: 0.45.0 +version: 0.46.0 # renovate: github-releases=prometheus-community/yet-another-cloudwatch-exporter appVersion: "v0.65.0" home: https://github.com/prometheus-community/helm-charts diff --git a/charts/prometheus-yet-another-cloudwatch-exporter/templates/deployment.yaml b/charts/prometheus-yet-another-cloudwatch-exporter/templates/deployment.yaml index bf40df80899f..d49cd749bf6c 100644 --- a/charts/prometheus-yet-another-cloudwatch-exporter/templates/deployment.yaml +++ b/charts/prometheus-yet-another-cloudwatch-exporter/templates/deployment.yaml @@ -129,6 +129,10 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: - configMap: defaultMode: 420 diff --git a/charts/prometheus-yet-another-cloudwatch-exporter/values.yaml b/charts/prometheus-yet-another-cloudwatch-exporter/values.yaml index 3e853a6ff0f2..968158386876 100644 --- a/charts/prometheus-yet-another-cloudwatch-exporter/values.yaml +++ b/charts/prometheus-yet-another-cloudwatch-exporter/values.yaml @@ -96,6 +96,16 @@ tolerations: [] affinity: {} +## Topology spread constraints +## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ +topologySpreadConstraints: [] + # - maxSkew: 1 + # topologyKey: failure-domain.beta.kubernetes.io/zone + # whenUnsatisfiable: DoNotSchedule + # labelSelector: + # matchLabels: + # app.kubernetes.io/instance: + podDisruptionBudget: enabled: false minAvailable: 1