Skip to content

Commit 2a55f84

Browse files
authored
Update helm chart (#444)
* Update arch.png Signed-off-by: kerthcet <[email protected]> * Update helm chart Signed-off-by: kerthcet <[email protected]> --------- Signed-off-by: kerthcet <[email protected]>
1 parent 6de08a7 commit 2a55f84

File tree

6 files changed

+21
-2
lines changed

6 files changed

+21
-2
lines changed

chart/crds/playground-crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ spec:
896896
description: |-
897897
InferenceFlavors represents a list of flavor names with fungibility supported
898898
to serve the model.
899-
- If not set, always apply with the 0-index model by default.
899+
- If not set, will employ the model configured flavors by default.
900900
- If set, will lookup the flavor names following the model orders.
901901
items:
902902
type: string

chart/crds/service-crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
description: |-
5252
InferenceFlavors represents a list of flavor names with fungibility supported
5353
to serve the model.
54-
- If not set, always apply with the 0-index model by default.
54+
- If not set, will employ the model configured flavors by default.
5555
- If set, will lookup the flavor names following the model orders.
5656
items:
5757
type: string

chart/templates/global-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: {{ include "chart.fullname" . }}-global-config
5+
labels:
6+
{{- include "chart.labels" . | nindent 4 }}
7+
data:
8+
config.data: {{ .Values.globalConfig.configData | toYaml | indent 1 }}

chart/templates/manager-rbac.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ metadata:
55
labels:
66
{{- include "chart.labels" . | nindent 4 }}
77
rules:
8+
- apiGroups:
9+
- ""
10+
resources:
11+
- configmaps
12+
verbs:
13+
- get
14+
- list
815
- apiGroups:
916
- ""
1017
resources:

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ controllerManager:
2525
replicas: 1
2626
serviceAccount:
2727
annotations: {}
28+
globalConfig:
29+
configData: |-
30+
scheduler-name: default-scheduler
31+
# init-container-image: inftyai/model-loader:v0.0.10
2832
kubernetesClusterDomain: cluster.local
2933
metricsService:
3034
ports:

site/static/images/arch.png

19.6 KB
Loading

0 commit comments

Comments
 (0)