From eb656fe102c059e71e3f4ba0e402ddb16959dccb Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Tue, 8 Feb 2022 16:50:24 -0600 Subject: [PATCH] feat(cloud): add support for running multi-pod/multi-node --- charts/cloud-screenshot/Chart.yaml | 2 +- charts/cloud-screenshot/templates/cloud-screenshot.yml | 6 +++++- charts/cloud-screenshot/values.yaml | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/cloud-screenshot/Chart.yaml b/charts/cloud-screenshot/Chart.yaml index eb50828..6fc6631 100644 --- a/charts/cloud-screenshot/Chart.yaml +++ b/charts/cloud-screenshot/Chart.yaml @@ -5,4 +5,4 @@ maintainers: - email: dustin@elegantthemes.com name: Elegant Themes name: cloud-screenshot -version: 0.9.12 +version: 0.9.13 diff --git a/charts/cloud-screenshot/templates/cloud-screenshot.yml b/charts/cloud-screenshot/templates/cloud-screenshot.yml index 5e5b303..7d3a07f 100644 --- a/charts/cloud-screenshot/templates/cloud-screenshot.yml +++ b/charts/cloud-screenshot/templates/cloud-screenshot.yml @@ -20,7 +20,11 @@ metadata: labels: app: cloud-screenshot spec: - replicas: 1 + replicas: {{ .Values.REPLICAS }} + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 selector: matchLabels: app: cloud-screenshot diff --git a/charts/cloud-screenshot/values.yaml b/charts/cloud-screenshot/values.yaml index 9c7f135..2323255 100644 --- a/charts/cloud-screenshot/values.yaml +++ b/charts/cloud-screenshot/values.yaml @@ -27,6 +27,8 @@ LOGGED_IN_SALT: NONCE_KEY: NONCE_SALT: +REPLICAS: + S3_BUCKET_CLOUD_ITEMS: S3_BUCKET_CLOUD_ITEMS_BACKUP_1: S3_BUCKET_CLOUD_ITEMS_BACKUP_2: