diff --git a/ceph-rgw/templates/deployment-rgw.yaml b/ceph-rgw/templates/deployment-rgw.yaml index 88c634d4bb..5fc76eed39 100644 --- a/ceph-rgw/templates/deployment-rgw.yaml +++ b/ceph-rgw/templates/deployment-rgw.yaml @@ -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: diff --git a/ceph-rgw/values.yaml b/ceph-rgw/values.yaml index 319341725a..477a36d3e4 100644 --- a/ceph-rgw/values.yaml +++ b/ceph-rgw/values.yaml @@ -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: