Skip to content

Commit c390fea

Browse files
authored
Add priorityClassName to decode and prefill (#217)
* add priorityClassName Signed-off-by: Michael Kalantar <kalantar@us.ibm.com> * remove duplicate key Signed-off-by: Michael Kalantar <kalantar@us.ibm.com> * allow case-insensitive "none" for priorityClassName --------- Signed-off-by: Michael Kalantar <kalantar@us.ibm.com>
1 parent c979b3c commit c390fea

17 files changed

Lines changed: 76 additions & 282 deletions

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/dadav/helm-schema
3-
rev: "0.18.1"
3+
rev: "0.21.2"
44
hooks:
55
- id: helm-schema
66
args:

charts/llm-d-modelservice/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: "v0.4.7"
16+
version: "v0.4.8"
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.

charts/llm-d-modelservice/templates/_helpers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ context is a pdSpec
425425
{{- if or .pdSpec.schedulerName .Values.schedulerName }}
426426
schedulerName: {{ .pdSpec.schedulerName | default .Values.schedulerName }}
427427
{{- end }}
428+
{{- if and .pdSpec.priorityClassName (ne (.pdSpec.priorityClassName | lower) "none") }}
429+
priorityClassName: {{ .pdSpec.priorityClassName }}
430+
{{- end }}
428431
{{- /* DEPRECATED; use extraConfig.securityContext instead */ -}}
429432
{{- with .pdSpec.podSecurityContext }}
430433
securityContext:

charts/llm-d-modelservice/values.schema.json

Lines changed: 7 additions & 106 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)