[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:
Nishant Kumar 2020-05-18 16:34:03 +00:00 committed by Nishant Kumar
parent 99c09daa74
commit c49387dcba
2 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -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: