feat(helm): add RollingUpdate parameters (#20931)
Co-authored-by: gforien <gforien.externe@bedrockstreaming.com>
This commit is contained in:
parent
e671d80209
commit
3f8e9a567a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue