diff --git a/controllers/greptimedbcluster/deployers/datanode.go b/controllers/greptimedbcluster/deployers/datanode.go index b12c8c7a..3953e57f 100644 --- a/controllers/greptimedbcluster/deployers/datanode.go +++ b/controllers/greptimedbcluster/deployers/datanode.go @@ -230,8 +230,9 @@ func (b *datanodeBuilder) BuildStatefulSet() deployer.Builder { Namespace: b.Cluster.Namespace, }, Spec: appsv1.StatefulSetSpec{ - ServiceName: common.ResourceName(b.Cluster.Name, b.ComponentKind), - Replicas: b.Cluster.Spec.Datanode.Replicas, + PodManagementPolicy: appsv1.ParallelPodManagement, + ServiceName: common.ResourceName(b.Cluster.Name, b.ComponentKind), + Replicas: b.Cluster.Spec.Datanode.Replicas, Selector: &metav1.LabelSelector{ MatchLabels: map[string]string{ constant.GreptimeDBComponentName: common.ResourceName(b.Cluster.Name, b.ComponentKind),