diff --git a/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_monitor.yaml b/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_monitor.yaml index f949f0bf..2e1adede 100644 --- a/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_monitor.yaml +++ b/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_monitor.yaml @@ -59,6 +59,9 @@ spec: prometheus.io/port: "8080" prometheus.io/path: "/prometheus" spec: + {{- with .Values.infraPriorityClassName }} + priorityClassName: {{ . }} + {{- end }} containers: - name: job-monitor image: {{ .Values.monitor.image }} diff --git a/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_preload_redis.yaml b/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_preload_redis.yaml index 14de3a7b..3a78b889 100644 --- a/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_preload_redis.yaml +++ b/src/MissionParallelCatchup/parallel_catchup_helm/templates/job_preload_redis.yaml @@ -5,6 +5,9 @@ metadata: spec: template: spec: + {{- with .Values.infraPriorityClassName }} + priorityClassName: {{ . }} + {{- end }} containers: - name: preload image: redis:7 diff --git a/src/MissionParallelCatchup/parallel_catchup_helm/templates/redis_queue.yaml b/src/MissionParallelCatchup/parallel_catchup_helm/templates/redis_queue.yaml index aaba65fb..51def555 100644 --- a/src/MissionParallelCatchup/parallel_catchup_helm/templates/redis_queue.yaml +++ b/src/MissionParallelCatchup/parallel_catchup_helm/templates/redis_queue.yaml @@ -25,6 +25,9 @@ spec: labels: app: {{ .Values.redis.hostname }} spec: + {{- with .Values.infraPriorityClassName }} + priorityClassName: {{ . }} + {{- end }} containers: - name: redis image: redis:7 diff --git a/src/MissionParallelCatchup/parallel_catchup_helm/values.yaml b/src/MissionParallelCatchup/parallel_catchup_helm/values.yaml index b8d50642..6e909f5e 100644 --- a/src/MissionParallelCatchup/parallel_catchup_helm/values.yaml +++ b/src/MissionParallelCatchup/parallel_catchup_helm/values.yaml @@ -60,3 +60,5 @@ range_generator: service_account: annotations: [] + +infraPriorityClassName: catchup-infra