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 bbd3f36Copy full SHA for bbd3f36
charts/retool/templates/priorityclass.yaml
@@ -1,4 +1,7 @@
1
+{{/* By default, we give the jobs runner a higher 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:
@@ -10,6 +13,7 @@ preemptionPolicy: Never
10
13
globalDefault: false
11
14
description: "PriorityClass for Retool jobs runner pods"
12
15
---
16
+{{- end }}
17
18
19
0 commit comments