Merge "[ceph-rgw] Add helm-toolkit snippet to support update strategy"

This commit is contained in:
Zuul 2020-06-02 17:50:43 +00:00 committed by Gerrit Code Review
commit cfdbcdef16
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

@ -98,6 +98,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: