mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
parent
f4176b9f94
commit
d422c190a0
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue