We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6bb3d commit 77f003eCopy full SHA for 77f003e
charts/retool/templates/priorityclass.yaml
@@ -1,4 +1,7 @@
1
+{{/* We ensure that the jobs runner has highest priority,
2
+since unrun db migrations can lead to pod crashloops. */}}
3
{{- if not .Values.priorityClassName }}
4
+{{- if include "retool.jobRunner.enabled" . }}
5
apiVersion: scheduling.k8s.io/v1
6
kind: PriorityClass
7
metadata:
@@ -8,8 +11,9 @@ metadata:
8
11
value: 20
9
12
preemptionPolicy: Never
10
13
globalDefault: false
-description: "PriorityClass for Retool jobs runner pods"
14
+description: "PriorityClass for Retool jobs-runner pods"
15
---
16
+{{- end }}
17
18
19
0 commit comments