Skip to content

Commit 66aa578

Browse files
authored
kserve models web app helm charts v0.15.0 (#3252)
Signed-off-by: kunal-511 <[email protected]>
1 parent 5f33881 commit 66aa578

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

experimental/helm/charts/kserve-models-web-app/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A Helm chart for KServe Models Web App - Model serving management U
66

77
version: 0.1.0
88

9-
appVersion: v0.14.0
9+
appVersion: v0.15.0
1010

1111
home: https://github.com/kserve/kserve
1212

experimental/helm/charts/kserve-models-web-app/templates/configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ data:
2424
{{- else }}
2525
APP_DISABLE_AUTH: "True"
2626
{{- end }}
27+
GRAFANA_PREFIX: {{ .Values.app.config.grafanaPrefix | quote }}
28+
GRAFANA_CPU_MEMORY_DB: {{ .Values.app.config.grafanaCpuMemoryDb | quote }}
29+
GRAFANA_HTTP_REQUESTS_DB: {{ .Values.app.config.grafanaHttpRequestsDb | quote }}
2730
{{- with .Values.configMap.data }}
2831
{{- toYaml . | nindent 2 }}
2932
{{- end }}

experimental/helm/charts/kserve-models-web-app/templates/deployment.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,23 @@ spec:
2929
{{- include "kserve-models-web-app.kustomizeLabels" . | nindent 8 }}
3030
{{- if .Values.kubeflow.enabled }}
3131
{{- include "kserve-models-web-app.kserveLabels" . | nindent 8 }}
32-
sidecar.istio.io/inject: "true"
3332
{{- end }}
3433
{{- with .Values.deployment.podLabels }}
3534
{{- toYaml . | nindent 8 }}
3635
{{- end }}
3736
{{- with .Values.app.labels }}
3837
{{- toYaml . | nindent 8 }}
3938
{{- end }}
40-
{{- with .Values.deployment.podAnnotations }}
4139
annotations:
40+
{{- if .Values.kubeflow.enabled }}
41+
sidecar.istio.io/inject: "true"
42+
{{- end }}
43+
{{- with .Values.deployment.podAnnotations }}
4244
{{- toYaml . | nindent 8 }}
43-
{{- end }}
44-
{{- with .Values.app.annotations }}
45-
annotations:
45+
{{- end }}
46+
{{- with .Values.app.annotations }}
4647
{{- toYaml . | nindent 8 }}
47-
{{- end }}
48+
{{- end }}
4849
spec:
4950
{{- with .Values.global.imagePullSecrets }}
5051
imagePullSecrets:

experimental/helm/charts/kserve-models-web-app/values.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ global:
1919
# -- Image registry for KServe Models Web App images
2020
imageRegistry: ghcr.io/kserve
2121
# -- Global image tag for KServe Models Web App
22-
imageTag: v0.14.0
22+
imageTag: 0.15.0
2323
# -- Global image pull policy
2424
imagePullPolicy: Always
2525
# -- Global image pull secrets
@@ -35,15 +35,15 @@ app:
3535
enabled: true
3636
# -- Number of replicas
3737
replicas: 1
38-
38+
3939
image:
4040
# -- Application image repository
4141
repository: models-web-app
4242
# -- Application image tag (overrides global.imageTag if set)
4343
tag: ""
4444
# -- Application image pull policy (overrides global.imagePullPolicy if set)
4545
pullPolicy: ""
46-
46+
4747
# -- Application configuration
4848
config:
4949
# -- Disable authentication for the web app
@@ -52,6 +52,12 @@ app:
5252
useridHeader: "kubeflow-userid"
5353
# -- Application prefix for URL routing
5454
appPrefix: "/kserve-endpoints"
55+
# -- Grafana URL prefix
56+
grafanaPrefix: "/grafana"
57+
# -- Grafana CPU and memory database path
58+
grafanaCpuMemoryDb: "db/knative-serving-revision-cpu-and-memory-usage"
59+
# -- Grafana HTTP requests database path
60+
grafanaHttpRequestsDb: "db/knative-serving-revision-http-requests"
5561
# -- Additional environment variables
5662
env: []
5763

0 commit comments

Comments
 (0)