1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 11:48:53 +00:00

feat: Add parallel pod creation for Prometheus

Part of 
This commit is contained in:
Mike Bryant 2017-10-04 11:47:19 +01:00
parent f4176b9f94
commit d422c190a0

View file

@ -459,8 +459,9 @@ func makeStatefulSetSpec(p monitoringv1.Prometheus, c *Config, ruleConfigMaps []
podLabels["app"] = "prometheus"
podLabels["prometheus"] = p.Name
return &v1beta1.StatefulSetSpec{
ServiceName: governingServiceName,
Replicas: p.Spec.Replicas,
ServiceName: governingServiceName,
Replicas: p.Spec.Replicas,
PodManagementPolicy: v1beta1.ParallelPodManagement,
UpdateStrategy: v1beta1.StatefulSetUpdateStrategy{
Type: v1beta1.RollingUpdateStatefulSetStrategyType,
},