diff --git a/charts/backstage/ci/topologySpreadConstraints-values.yaml b/charts/backstage/ci/topologySpreadConstraints-values.yaml new file mode 100644 index 0000000..7fa52ab --- /dev/null +++ b/charts/backstage/ci/topologySpreadConstraints-values.yaml @@ -0,0 +1,19 @@ +backstage: + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: topology.kubernetes.io/zone + whenUnsatisfiable: DoNotSchedule + labelSelector: + matchLabels: + app.kubernetes.io/component: backstage + matchLabelKeys: + - pod-template-hash + + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: DoNotSchedule + labelSelector: + matchLabels: + app.kubernetes.io/component: backstage + matchLabelKeys: + - pod-template-hash