diff --git a/charts/redash/requirements.lock b/charts/redash/requirements.lock index b90c78c..e64e930 100644 --- a/charts/redash/requirements.lock +++ b/charts/redash/requirements.lock @@ -1,9 +1,9 @@ dependencies: - name: redis repository: oci://registry-1.docker.io/bitnamicharts - version: 19.1.3 + version: 19.6.2 - name: postgresql repository: oci://registry-1.docker.io/bitnamicharts - version: 15.2.5 -digest: sha256:151965ff63f41c38de182793b57c890da72de2e699c7f69a98e179cfa07ece09 -generated: "2024-04-24T09:02:42.314748+03:00" + version: 15.5.17 +digest: sha256:af7ef6c98f6157f862429305247440a659c1c0122beaa6c1c08c33105130d378 +generated: "2024-07-19T14:45:50.435775+03:00" diff --git a/charts/redash/templates/hook-migrations-job.yaml b/charts/redash/templates/hook-migrations-job.yaml index 673bbe7..3bd245d 100644 --- a/charts/redash/templates/hook-migrations-job.yaml +++ b/charts/redash/templates/hook-migrations-job.yaml @@ -68,3 +68,6 @@ spec: {{- with .Values.migrations.tolerations }} tolerations: {{ toYaml . | nindent 8 }} {{- end }} + {{- with .Values.migrations.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} \ No newline at end of file diff --git a/charts/redash/templates/scheduler-deployment.yaml b/charts/redash/templates/scheduler-deployment.yaml index af5f4ca..ea40682 100644 --- a/charts/redash/templates/scheduler-deployment.yaml +++ b/charts/redash/templates/scheduler-deployment.yaml @@ -74,3 +74,6 @@ spec: tolerations: {{ toYaml . | nindent 8 }} {{- end }} + {{- with .Values.scheduler.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} diff --git a/charts/redash/templates/server-deployment.yaml b/charts/redash/templates/server-deployment.yaml index a8b9669..ab078ba 100644 --- a/charts/redash/templates/server-deployment.yaml +++ b/charts/redash/templates/server-deployment.yaml @@ -77,3 +77,6 @@ spec: {{- with .Values.server.tolerations }} tolerations: {{ toYaml . | nindent 8 }} {{- end }} + {{- with .Values.server.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} diff --git a/charts/redash/templates/worker-deployment.yaml b/charts/redash/templates/worker-deployment.yaml index d7f3302..2722ae4 100644 --- a/charts/redash/templates/worker-deployment.yaml +++ b/charts/redash/templates/worker-deployment.yaml @@ -69,4 +69,7 @@ spec: {{- with $workerConfig.tolerations }} tolerations: {{ toYaml . | nindent 8 }} {{- end }} + {{- with $workerConfig.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} {{- end }} diff --git a/charts/redash/values.yaml b/charts/redash/values.yaml index 4c695f1..03a9f10 100644 --- a/charts/redash/values.yaml +++ b/charts/redash/values.yaml @@ -355,6 +355,9 @@ server: # server.volumeMounts -- VolumeMounts for server pod assignment [ref](https://kubernetes.io/docs/concepts/storage/volumes/) volumeMounts: [] + # priorityClassName -- Priority class name for server pod assignment [ref](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) + priorityClassName: + service: # service.annotations -- Annotations to add to the service annotations: {} @@ -450,6 +453,9 @@ worker: # worker.volumeMounts -- Default VolumeMounts for worker pod assignment [ref](https://kubernetes.io/docs/concepts/storage/volumes/) volumeMounts: [] + # priorityClassName -- Default priority class name for worker pod assignment [ref](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) + priorityClassName: + # worker.livenessProbe -- Default worker's liveness probe to ensure workers are running fine livenessProbe: exec: @@ -517,6 +523,9 @@ scheduler: # scheduler.volumeMounts -- VolumeMounts for scheduler pod assignment [ref](https://kubernetes.io/docs/concepts/storage/volumes/) volumeMounts: [] + # priorityClassName -- Default priority class name for scheduler pod assignment [ref](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) + priorityClassName: + ## Configuration for migrations hook migrations: # migrations.volumes -- volumes that will be mounted to migrations pods only @@ -558,6 +567,9 @@ migrations: # migrations.podLabels -- Labels for migration pod [ref](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) podLabels: {} + # priorityClassName -- Default priority class name for migration pod [ref](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) + priorityClassName: + # externalPostgreSQL -- External PostgreSQL configuration. To use an external PostgreSQL instead of the automatically deployed postgresql chart: set postgresql.enabled to false then uncomment and configure the externalPostgreSQL connection URL (e.g. postgresql://user:pass@host:5432/database) externalPostgreSQL: # externalPostgreSQLSecret -- Read external PostgreSQL configuration from a secret. This should point at a secret file with a single key which specifies the connection string.