Merge branch 'ai-starter-kit' into replace-bitnami-jupyterhub

This commit is contained in:
Artur Kamalov 2025-09-02 12:53:48 +02:00
commit cee520522b
2 changed files with 37 additions and 0 deletions

View File

@ -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 }}

View File

@ -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