Skip to content

Commit b280d74

Browse files
authored
fix: Server instability during upgrades (#227)
1 parent ffbc9d7 commit b280d74

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

charts/datafold-manager/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: datafold-manager
33
description: Helm chart for Datafold Operator
44
type: application
5-
version: 0.1.30
5+
version: 0.1.31
66
appVersion: "1.0.0"
77
icon: https://www.datafold.com/logo.png
88

charts/datafold-manager/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ operator:
66
# Operator image configuration
77
image:
88
repository: us-docker.pkg.dev/datadiff-mm/datafold/datafold-operator
9-
tag: "1.1.7"
9+
tag: "1.1.8"
1010
pullPolicy: Always
1111

1212
# Operator deployment configuration

charts/datafold/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: datafold
33
description: Helm chart package to deploy Datafold on kubernetes.
44
type: application
5-
version: 0.10.21
5+
version: 0.10.22
66
appVersion: "1.0.0"
77
icon: https://www.datafold.com/logo.png
88

charts/datafold/charts/server/templates/deployment.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ spec:
88
{{- if not .Values.autoscaling.enabled }}
99
replicas: {{ .Values.replicaCount }}
1010
{{- end }}
11+
progressDeadlineSeconds: {{ .Values.progressDeadlineSeconds }}
12+
minReadySeconds: {{ .Values.minReadySeconds }}
1113
strategy:
1214
type: RollingUpdate
1315
rollingUpdate:
14-
maxSurge: {{ .Values.replicaCount }}
15-
maxUnavailable: 0
16+
maxSurge: 1
17+
maxUnavailable: 1
1618
selector:
1719
matchLabels:
1820
{{- include "server.selectorLabels" . | nindent 6 }}

charts/datafold/charts/server/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@ affinity:
7777
topologyKey: "kubernetes.io/hostname"
7878

7979
initContainers: []
80+
81+
progressDeadlineSeconds: 600
82+
minReadySeconds: 30

0 commit comments

Comments
 (0)