mirror of https://github.com/apache/superset.git
fix(helm): Set priorityClassName to pods (superset, celeryBeat, celeryBeatFlower, celeryBeatWorker, celeryBeatWebsocket, jobs) (#29091)
This commit is contained in:
parent
9cdf6b88ad
commit
f2e020e398
|
@ -29,7 +29,7 @@ maintainers:
|
||||||
- name: craig-rueda
|
- name: craig-rueda
|
||||||
email: craig@craigrueda.com
|
email: craig@craigrueda.com
|
||||||
url: https://github.com/craig-rueda
|
url: https://github.com/craig-rueda
|
||||||
version: 0.12.11
|
version: 0.12.12
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 12.1.6
|
version: 12.1.6
|
||||||
|
|
|
@ -23,7 +23,7 @@ NOTE: This file is generated by helm-docs: https://github.com/norwoodj/helm-docs
|
||||||
|
|
||||||
# superset
|
# superset
|
||||||
|
|
||||||
![Version: 0.12.11](https://img.shields.io/badge/Version-0.12.11-informational?style=flat-square)
|
![Version: 0.12.12](https://img.shields.io/badge/Version-0.12.12-informational?style=flat-square)
|
||||||
|
|
||||||
Apache Superset is a modern, enterprise-ready business intelligence web application
|
Apache Superset is a modern, enterprise-ready business intelligence web application
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
||||||
| init.loadExamples | bool | `false` | |
|
| init.loadExamples | bool | `false` | |
|
||||||
| init.podAnnotations | object | `{}` | |
|
| init.podAnnotations | object | `{}` | |
|
||||||
| init.podSecurityContext | object | `{}` | |
|
| init.podSecurityContext | object | `{}` | |
|
||||||
|
| init.priorityClassName | string | `nil` | Set priorityClassName for init job pods |
|
||||||
| init.resources | object | `{}` | |
|
| init.resources | object | `{}` | |
|
||||||
| init.tolerations | list | `[]` | |
|
| init.tolerations | list | `[]` | |
|
||||||
| init.topologySpreadConstraints | list | `[]` | TopologySpreadConstrains to be added to init job |
|
| init.topologySpreadConstraints | list | `[]` | TopologySpreadConstrains to be added to init job |
|
||||||
|
@ -114,6 +115,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
||||||
| nameOverride | string | `nil` | Provide a name to override the name of the chart |
|
| nameOverride | string | `nil` | Provide a name to override the name of the chart |
|
||||||
| nodeSelector | object | `{}` | |
|
| nodeSelector | object | `{}` | |
|
||||||
| postgresql | object | see `values.yaml` | Configuration values for the postgresql dependency. ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql |
|
| postgresql | object | see `values.yaml` | Configuration values for the postgresql dependency. ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql |
|
||||||
|
| priorityClassName | string | `nil` | Set priorityClassName for superset pods |
|
||||||
| redis | object | see `values.yaml` | Configuration values for the Redis dependency. ref: https://github.com/bitnami/charts/blob/master/bitnami/redis More documentation can be found here: https://artifacthub.io/packages/helm/bitnami/redis |
|
| redis | object | see `values.yaml` | Configuration values for the Redis dependency. ref: https://github.com/bitnami/charts/blob/master/bitnami/redis More documentation can be found here: https://artifacthub.io/packages/helm/bitnami/redis |
|
||||||
| resources | object | `{}` | |
|
| resources | object | `{}` | |
|
||||||
| runAsUser | int | `0` | User ID directive. This user must have enough permissions to run the bootstrap script Running containers as root is not recommended in production. Change this to another UID - e.g. 1000 to be more secure |
|
| runAsUser | int | `0` | User ID directive. This user must have enough permissions to run the bootstrap script Running containers as root is not recommended in production. Change this to another UID - e.g. 1000 to be more secure |
|
||||||
|
@ -142,6 +144,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
||||||
| supersetCeleryBeat.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
| supersetCeleryBeat.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
||||||
| supersetCeleryBeat.podLabels | object | `{}` | Labels to be added to supersetCeleryBeat pods |
|
| supersetCeleryBeat.podLabels | object | `{}` | Labels to be added to supersetCeleryBeat pods |
|
||||||
| supersetCeleryBeat.podSecurityContext | object | `{}` | |
|
| supersetCeleryBeat.podSecurityContext | object | `{}` | |
|
||||||
|
| supersetCeleryBeat.priorityClassName | string | `nil` | Set priorityClassName for CeleryBeat pods |
|
||||||
| supersetCeleryBeat.resources | object | `{}` | Resource settings for the CeleryBeat pods - these settings overwrite might existing values from the global resources object defined above. |
|
| supersetCeleryBeat.resources | object | `{}` | Resource settings for the CeleryBeat pods - these settings overwrite might existing values from the global resources object defined above. |
|
||||||
| supersetCeleryBeat.topologySpreadConstraints | list | `[]` | TopologySpreadConstrains to be added to supersetCeleryBeat deployments |
|
| supersetCeleryBeat.topologySpreadConstraints | list | `[]` | TopologySpreadConstrains to be added to supersetCeleryBeat deployments |
|
||||||
| supersetCeleryFlower.affinity | object | `{}` | Affinity to be added to supersetCeleryFlower deployment |
|
| supersetCeleryFlower.affinity | object | `{}` | Affinity to be added to supersetCeleryFlower deployment |
|
||||||
|
@ -165,6 +168,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
||||||
| supersetCeleryFlower.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
| supersetCeleryFlower.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
||||||
| supersetCeleryFlower.podLabels | object | `{}` | Labels to be added to supersetCeleryFlower pods |
|
| supersetCeleryFlower.podLabels | object | `{}` | Labels to be added to supersetCeleryFlower pods |
|
||||||
| supersetCeleryFlower.podSecurityContext | object | `{}` | |
|
| supersetCeleryFlower.podSecurityContext | object | `{}` | |
|
||||||
|
| supersetCeleryFlower.priorityClassName | string | `nil` | Set priorityClassName for supersetCeleryFlower pods |
|
||||||
| supersetCeleryFlower.readinessProbe.failureThreshold | int | `3` | |
|
| supersetCeleryFlower.readinessProbe.failureThreshold | int | `3` | |
|
||||||
| supersetCeleryFlower.readinessProbe.httpGet.path | string | `"/api/workers"` | |
|
| supersetCeleryFlower.readinessProbe.httpGet.path | string | `"/api/workers"` | |
|
||||||
| supersetCeleryFlower.readinessProbe.httpGet.port | string | `"flower"` | |
|
| supersetCeleryFlower.readinessProbe.httpGet.port | string | `"flower"` | |
|
||||||
|
@ -271,6 +275,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
||||||
| supersetWebsockets.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
| supersetWebsockets.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
||||||
| supersetWebsockets.podLabels | object | `{}` | |
|
| supersetWebsockets.podLabels | object | `{}` | |
|
||||||
| supersetWebsockets.podSecurityContext | object | `{}` | |
|
| supersetWebsockets.podSecurityContext | object | `{}` | |
|
||||||
|
| supersetWebsockets.priorityClassName | string | `nil` | Set priorityClassName for supersetWebsockets pods |
|
||||||
| supersetWebsockets.readinessProbe.failureThreshold | int | `3` | |
|
| supersetWebsockets.readinessProbe.failureThreshold | int | `3` | |
|
||||||
| supersetWebsockets.readinessProbe.httpGet.path | string | `"/health"` | |
|
| supersetWebsockets.readinessProbe.httpGet.path | string | `"/health"` | |
|
||||||
| supersetWebsockets.readinessProbe.httpGet.port | string | `"ws"` | |
|
| supersetWebsockets.readinessProbe.httpGet.port | string | `"ws"` | |
|
||||||
|
@ -319,6 +324,7 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
||||||
| supersetWorker.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
| supersetWorker.podDisruptionBudget.minAvailable | int | `1` | If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget |
|
||||||
| supersetWorker.podLabels | object | `{}` | Labels to be added to supersetWorker pods |
|
| supersetWorker.podLabels | object | `{}` | Labels to be added to supersetWorker pods |
|
||||||
| supersetWorker.podSecurityContext | object | `{}` | |
|
| supersetWorker.podSecurityContext | object | `{}` | |
|
||||||
|
| supersetWorker.priorityClassName | string | `nil` | Set priorityClassName for supersetWorker pods |
|
||||||
| supersetWorker.readinessProbe | object | `{}` | No startup/readiness probes by default since we don't really care about its startup time (it doesn't serve traffic) |
|
| supersetWorker.readinessProbe | object | `{}` | No startup/readiness probes by default since we don't really care about its startup time (it doesn't serve traffic) |
|
||||||
| supersetWorker.replicas.enabled | bool | `true` | |
|
| supersetWorker.replicas.enabled | bool | `true` | |
|
||||||
| supersetWorker.replicas.replicaCount | int | `1` | |
|
| supersetWorker.replicas.replicaCount | int | `1` | |
|
||||||
|
|
|
@ -134,6 +134,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.supersetCeleryBeat.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.supersetCeleryBeat.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.topologySpreadConstraints .Values.supersetCeleryBeat.topologySpreadConstraints }}
|
{{- if or .Values.topologySpreadConstraints .Values.supersetCeleryBeat.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- with .Values.topologySpreadConstraints }}
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
|
|
@ -129,6 +129,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.supersetCeleryFlower.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.supersetCeleryFlower.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.topologySpreadConstraints .Values.supersetCeleryFlower.topologySpreadConstraints }}
|
{{- if or .Values.topologySpreadConstraints .Values.supersetCeleryFlower.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- with .Values.topologySpreadConstraints }}
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
|
|
@ -34,7 +34,7 @@ metadata:
|
||||||
annotations: {{- toYaml .Values.supersetWorker.deploymentAnnotations | nindent 4 }}
|
annotations: {{- toYaml .Values.supersetWorker.deploymentAnnotations | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.supersetWorker.autoscaling.enabled and .Values.supersetWorker.replicas.enabled }}
|
{{- if and (not .Values.supersetWorker.autoscaling.enabled) .Values.supersetWorker.replicas.enabled }}
|
||||||
replicas: {{ .Values.supersetWorker.replicas.replicaCount }}
|
replicas: {{ .Values.supersetWorker.replicas.replicaCount }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
|
@ -149,6 +149,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.supersetWorker.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.supersetWorker.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.topologySpreadConstraints .Values.supersetWorker.topologySpreadConstraints }}
|
{{- if or .Values.topologySpreadConstraints .Values.supersetWorker.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- with .Values.topologySpreadConstraints }}
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
|
|
@ -128,6 +128,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.supersetWebsockets.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.supersetWebsockets.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.topologySpreadConstraints .Values.supersetWebsockets.topologySpreadConstraints }}
|
{{- if or .Values.topologySpreadConstraints .Values.supersetWebsockets.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- with .Values.topologySpreadConstraints }}
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
|
|
@ -34,7 +34,7 @@ metadata:
|
||||||
annotations: {{- toYaml .Values.supersetNode.deploymentAnnotations | nindent 4 }}
|
annotations: {{- toYaml .Values.supersetNode.deploymentAnnotations | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.supersetNode.autoscaling.enabled and .Values.supersetNode.replicas.enabled }}
|
{{- if and (not .Values.supersetNode.autoscaling.enabled) .Values.supersetNode.replicas.enabled }}
|
||||||
replicas: {{ .Values.supersetNode.replicas.replicaCount }}
|
replicas: {{ .Values.supersetNode.replicas.replicaCount }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.supersetNode.strategy }}
|
{{- if .Values.supersetNode.strategy }}
|
||||||
|
@ -159,6 +159,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.topologySpreadConstraints .Values.supersetNode.topologySpreadConstraints }}
|
{{- if or .Values.topologySpreadConstraints .Values.supersetNode.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- with .Values.topologySpreadConstraints }}
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
|
|
@ -98,6 +98,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.init.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.init.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.topologySpreadConstraints .Values.init.topologySpreadConstraints }}
|
{{- if or .Values.topologySpreadConstraints .Values.init.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- with .Values.topologySpreadConstraints }}
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
|
|
@ -450,6 +450,8 @@ supersetWorker:
|
||||||
startupProbe: {}
|
startupProbe: {}
|
||||||
# -- No startup/readiness probes by default since we don't really care about its startup time (it doesn't serve traffic)
|
# -- No startup/readiness probes by default since we don't really care about its startup time (it doesn't serve traffic)
|
||||||
readinessProbe: {}
|
readinessProbe: {}
|
||||||
|
# -- Set priorityClassName for supersetWorker pods
|
||||||
|
priorityClassName: ~
|
||||||
|
|
||||||
# Superset beat configuration (to trigger scheduled jobs like reports)
|
# Superset beat configuration (to trigger scheduled jobs like reports)
|
||||||
supersetCeleryBeat:
|
supersetCeleryBeat:
|
||||||
|
@ -506,6 +508,8 @@ supersetCeleryBeat:
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
containerSecurityContext: {}
|
containerSecurityContext: {}
|
||||||
|
# -- Set priorityClassName for CeleryBeat pods
|
||||||
|
priorityClassName: ~
|
||||||
|
|
||||||
supersetCeleryFlower:
|
supersetCeleryFlower:
|
||||||
# -- Enables a Celery flower deployment (management UI to monitor celery jobs)
|
# -- Enables a Celery flower deployment (management UI to monitor celery jobs)
|
||||||
|
@ -597,6 +601,8 @@ supersetCeleryFlower:
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
containerSecurityContext: {}
|
containerSecurityContext: {}
|
||||||
|
# -- Set priorityClassName for supersetCeleryFlower pods
|
||||||
|
priorityClassName: ~
|
||||||
|
|
||||||
supersetWebsockets:
|
supersetWebsockets:
|
||||||
# -- This is only required if you intend to use `GLOBAL_ASYNC_QUERIES` in `ws` mode
|
# -- This is only required if you intend to use `GLOBAL_ASYNC_QUERIES` in `ws` mode
|
||||||
|
@ -690,6 +696,8 @@ supersetWebsockets:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
|
# -- Set priorityClassName for supersetWebsockets pods
|
||||||
|
priorityClassName: ~
|
||||||
|
|
||||||
init:
|
init:
|
||||||
# Configure resources
|
# Configure resources
|
||||||
|
@ -774,6 +782,8 @@ init:
|
||||||
affinity: {}
|
affinity: {}
|
||||||
# -- TopologySpreadConstrains to be added to init job
|
# -- TopologySpreadConstrains to be added to init job
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
|
# -- Set priorityClassName for init job pods
|
||||||
|
priorityClassName: ~
|
||||||
|
|
||||||
# -- Configuration values for the postgresql dependency.
|
# -- Configuration values for the postgresql dependency.
|
||||||
# ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql
|
# ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql
|
||||||
|
@ -878,3 +888,6 @@ affinity: {}
|
||||||
|
|
||||||
# -- TopologySpreadConstrains to be added to all deployments
|
# -- TopologySpreadConstrains to be added to all deployments
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
|
|
||||||
|
# -- Set priorityClassName for superset pods
|
||||||
|
priorityClassName: ~
|
||||||
|
|
Loading…
Reference in New Issue