[ceph-rgw] Add helm-toolkit snippet to support update strategy
This PS adds helm-toolkit snippet in deployment spec to support update strategy driven by values.yaml. Change-Id: I49616abd1bbaf3930a70c0734b5c3b7ef34a9391
This commit is contained in:
parent
99c09daa74
commit
c49387dcba
@ -43,6 +43,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ tuple $envAll "ceph" "rgw" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 6 }}
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -97,6 +97,14 @@ pod:
|
||||
dns_policy: "ClusterFirstWithHostNet"
|
||||
replicas:
|
||||
rgw: 2
|
||||
lifecycle:
|
||||
upgrades:
|
||||
deployments:
|
||||
pod_replacement_strategy: RollingUpdate
|
||||
revision_history: 3
|
||||
rolling_update:
|
||||
max_surge: 50%
|
||||
max_unavailable: 50%
|
||||
affinity:
|
||||
anti:
|
||||
type:
|
||||
|
Loading…
x
Reference in New Issue
Block a user