mirror of https://github.com/openkruise/charts.git
add zone spread for kruise-manager
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
parent
2b75a2f7db
commit
9168bab231
|
|
@ -51,6 +51,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
control-plane: controller-manager
|
control-plane: controller-manager
|
||||||
|
component: kruise-manager
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
|
@ -131,7 +132,7 @@ spec:
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
- labelSelector:
|
- labelSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
control-plane: controller-manager
|
component: kruise-manager
|
||||||
{{- if and ( eq (int .Capabilities.KubeVersion.Major) 1) ( gt (int .Capabilities.KubeVersion.Minor) 26 ) }}
|
{{- if and ( eq (int .Capabilities.KubeVersion.Major) 1) ( gt (int .Capabilities.KubeVersion.Minor) 26 ) }}
|
||||||
matchLabelKeys:
|
matchLabelKeys:
|
||||||
- pod-template-hash
|
- pod-template-hash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue