diff --git a/charts/posthog/templates/_snippet-topologySpreadConstraints.tpl b/charts/posthog/templates/_snippet-topologySpreadConstraints.tpl index 17a3af03..6711f8d8 100644 --- a/charts/posthog/templates/_snippet-topologySpreadConstraints.tpl +++ b/charts/posthog/templates/_snippet-topologySpreadConstraints.tpl @@ -22,9 +22,8 @@ matchLabelKeys: {{- if (.Values.includeDefaultTopologySpreadConstraints | default false) }} topologySpreadConstraints: - maxSkew: 1 - minDomains: 3 topologyKey: topology.kubernetes.io/zone - whenUnsatisfiable: DoNotSchedule + whenUnsatisfiable: ScheduleAnyway nodeTaintsPolicy: Honor {{- include "_snippet-selectors" . | nindent 2 }} - maxSkew: 3 diff --git a/charts/posthog/tests/_topologySpreadConstraints.yaml b/charts/posthog/tests/_topologySpreadConstraints.yaml index 806d725c..685602a3 100644 --- a/charts/posthog/tests/_topologySpreadConstraints.yaml +++ b/charts/posthog/tests/_topologySpreadConstraints.yaml @@ -37,7 +37,7 @@ tests: value: 1 - equal: path: spec.template.spec.topologySpreadConstraints[0].whenUnsatisfiable - value: DoNotSchedule + value: ScheduleAnyway - equal: path: spec.template.spec.topologySpreadConstraints[1].topologyKey value: kubernetes.io/hostname