feat(helm): add RollingUpdate parameters (#20931)

Co-authored-by: gforien <gforien.externe@bedrockstreaming.com>
This commit is contained in:
Gabriel Forien 2022-09-22 16:47:12 +02:00 committed by GitHub
parent e671d80209
commit 3f8e9a567a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 1 deletions

View File

@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.7.3
version: 0.7.4
dependencies:
- name: postgresql
version: 11.1.22

View File

@ -33,6 +33,10 @@ spec:
matchLabels:
app: {{ template "superset.name" . }}-worker
release: {{ .Release.Name }}
{{- if .Values.supersetWorker.strategy }}
strategy:
{{- toYaml .Values.supersetWorker.strategy | nindent 4 }}
{{- end }}
template:
metadata:
annotations:

View File

@ -29,6 +29,10 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.supersetNode.replicaCount }}
{{- if .Values.supersetNode.strategy }}
strategy:
{{- toYaml .Values.supersetNode.strategy | nindent 4 }}
{{- end }}
selector:
matchLabels:
app: {{ template "superset.name" . }}

View File

@ -343,6 +343,9 @@
},
"containerSecurityContext": {
"type": "object"
},
"strategy": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.23.0/_definitions.json##/definitions/io.k8s.api.apps.v1.DeploymentStrategy"
}
},
"required": [
@ -386,6 +389,9 @@
},
"containerSecurityContext": {
"type": "object"
},
"strategy": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.23.0/_definitions.json##/definitions/io.k8s.api.apps.v1.DeploymentStrategy"
}
},
"required": [

View File

@ -289,6 +289,12 @@ supersetNode:
# memory: 128Mi
podSecurityContext: {}
containerSecurityContext: {}
strategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
##
## Superset worker configuration
supersetWorker:
@ -322,6 +328,12 @@ supersetWorker:
# memory: 128Mi
podSecurityContext: {}
containerSecurityContext: {}
strategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
##
## Superset beat configuration (to trigger scheduled jobs like reports)
supersetCeleryBeat: