Skip to content

Commit

Permalink
Merge pull request #2200 from jiangxiaobin96/priorityClassName
Browse files Browse the repository at this point in the history
add priorityClassName for rescheduler
  • Loading branch information
volcano-sh-bot authored Apr 28, 2022
2 parents 4579b8c + 768a5ee commit 966094d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer/helm/chart/volcano/templates/admission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ spec:
app: volcano-admission
spec:
serviceAccount: {{ .Release.Name }}-admission
priorityClassName: system-cluster-critical
{{- if .Values.basic.image_pull_secret }}
imagePullSecrets:
- name: {{ .Values.basic.image_pull_secret }}
Expand Down Expand Up @@ -140,6 +141,7 @@ spec:
template:
spec:
serviceAccountName: {{ .Release.Name }}-admission
priorityClassName: system-cluster-critical
{{- if .Values.basic.image_pull_secret }}
imagePullSecrets:
- name: {{ .Values.basic.image_pull_secret }}
Expand Down
1 change: 1 addition & 0 deletions installer/helm/chart/volcano/templates/controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ spec:
app: volcano-controller
spec:
serviceAccount: {{ .Release.Name }}-controllers
priorityClassName: system-cluster-critical
{{- if .Values.basic.image_pull_secret }}
imagePullSecrets:
- name: {{ .Values.basic.image_pull_secret }}
Expand Down
1 change: 1 addition & 0 deletions installer/helm/chart/volcano/templates/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ spec:
app: volcano-scheduler
spec:
serviceAccount: {{ .Release.Name }}-scheduler
priorityClassName: system-cluster-critical
{{- if .Values.basic.image_pull_secret }}
imagePullSecrets:
- name: {{ .Values.basic.image_pull_secret }}
Expand Down
4 changes: 4 additions & 0 deletions installer/volcano-development-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ spec:
app: volcano-admission
spec:
serviceAccount: volcano-admission
priorityClassName: system-cluster-critical
containers:
- args:
- --tls-cert-file=/admission.local.config/certificates/tls.crt
Expand Down Expand Up @@ -174,6 +175,7 @@ spec:
template:
spec:
serviceAccountName: volcano-admission
priorityClassName: system-cluster-critical
restartPolicy: Never
containers:
- name: main
Expand Down Expand Up @@ -8473,6 +8475,7 @@ spec:
app: volcano-controller
spec:
serviceAccount: volcano-controllers
priorityClassName: system-cluster-critical
containers:
- name: volcano-controllers
image: volcanosh/vc-controller-manager-arm64:latest
Expand Down Expand Up @@ -8625,6 +8628,7 @@ spec:
app: volcano-scheduler
spec:
serviceAccount: volcano-scheduler
priorityClassName: system-cluster-critical
containers:
- name: volcano-scheduler
image: volcanosh/vc-scheduler-arm64:latest
Expand Down
4 changes: 4 additions & 0 deletions installer/volcano-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ spec:
app: volcano-admission
spec:
serviceAccount: volcano-admission
priorityClassName: system-cluster-critical
containers:
- args:
- --tls-cert-file=/admission.local.config/certificates/tls.crt
Expand Down Expand Up @@ -174,6 +175,7 @@ spec:
template:
spec:
serviceAccountName: volcano-admission
priorityClassName: system-cluster-critical
restartPolicy: Never
containers:
- name: main
Expand Down Expand Up @@ -8486,6 +8488,7 @@ spec:
app: volcano-controller
spec:
serviceAccount: volcano-controllers
priorityClassName: system-cluster-critical
containers:
- name: volcano-controllers
image: volcanosh/vc-controller-manager:latest
Expand Down Expand Up @@ -8638,6 +8641,7 @@ spec:
app: volcano-scheduler
spec:
serviceAccount: volcano-scheduler
priorityClassName: system-cluster-critical
containers:
- name: volcano-scheduler
image: volcanosh/vc-scheduler:latest
Expand Down

0 comments on commit 966094d

Please sign in to comment.