Skip to content

Commit f2101cf

Browse files
committed
Document limitation with 1 node cluster
1 parent 4433781 commit f2101cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/victoria-metrics-stack/values.yaml.gotmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ vmsingle:
1010
app.kubernetes.io/name: vmsingle
1111
app.kubernetes.io/part-of: {{ .Release.Name }}
1212

13+
# does not work in 1-node clusters
14+
# https://github.com/kubernetes/kubernetes/issues/105072
1315
topologySpreadConstraints:
1416
- maxSkew: 1
1517
topologyKey: "kubernetes.io/hostname"
1618
whenUnsatisfiable: DoNotSchedule
17-
# hardcoded due to https://github.com/VictoriaMetrics/helm-charts/issues/2219
1819
labelSelector:
1920
matchLabels:
2021
app.kubernetes.io/name: vmsingle

0 commit comments

Comments
 (0)