Merge branch 'ai-starter-kit' into replace-bitnami-jupyterhub
This commit is contained in:
commit
cee520522b
|
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
{{- if .Values.ramalama.enabled }}
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ include "ai-starter-kit.fullname" . }}-ramalama
|
||||||
|
labels:
|
||||||
|
{{- include "ai-starter-kit.labels" . | nindent 4 }}
|
||||||
|
app.kubernetes.io/component: ramalama
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "ai-starter-kit.selectorLabels" . | nindent 6 }}
|
||||||
|
app.kubernetes.io/component: ramalama
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
{{- include "ai-starter-kit.selectorLabels" . | nindent 8 }}
|
||||||
|
app.kubernetes.io/component: ramalama
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: ramalama
|
||||||
|
image: "{{ .Values.ramalama.image.repository }}:{{ .Values.ramalama.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.ramalama.image.pullPolicy }}
|
||||||
|
command:
|
||||||
|
{{- toYaml .Values.ramalama.command | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
|
@ -158,3 +158,13 @@ localPersistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# This path must match the destination path inside the minikube node.
|
# This path must match the destination path inside the minikube node.
|
||||||
hostPath: "/tmp/models-cache"
|
hostPath: "/tmp/models-cache"
|
||||||
|
|
||||||
|
ramalama:
|
||||||
|
enabled: true
|
||||||
|
command: ["sh", "-c" , "trap 'exit 0' TERM; while true; do sleep 60 & wait; done"]
|
||||||
|
image:
|
||||||
|
repository: "quay.io/ramalama/ramalama"
|
||||||
|
tag: "latest"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue