add zone spread for kruise-manager

Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
GautamBytes 2025-06-24 14:55:42 +00:00
parent 2b75a2f7db
commit 9168bab231
1 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ spec:
metadata:
labels:
control-plane: controller-manager
component: kruise-manager
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
@ -131,7 +132,7 @@ spec:
topologySpreadConstraints:
- labelSelector:
matchLabels:
control-plane: controller-manager
component: kruise-manager
{{- if and ( eq (int .Capabilities.KubeVersion.Major) 1) ( gt (int .Capabilities.KubeVersion.Minor) 26 ) }}
matchLabelKeys:
- pod-template-hash