Standardize manifest filenames to <app>-<kind>.yaml

This commit is contained in:
2026-06-21 11:55:33 +02:00
parent edef407a7e
commit 64e8bf7d78
329 changed files with 83 additions and 83 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ollama
namespace: ollama
spec:
replicas: 1
selector:
matchLabels:
app: ollama
serviceName: ollama
template:
metadata:
labels:
app: ollama
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 60
nodeSelector:
nvidia.com/gpu.present: "true"
containers:
- name: ollama
image: ollama/ollama:latest
ports:
- containerPort: 11434
resources:
limits:
nvidia.com/gpu: "1"
env:
- name: OLLAMA_HOST
value: "0.0.0.0"
volumeMounts:
- name: data
mountPath: /root/.ollama
volumes:
- name: data
persistentVolumeClaim:
claimName: ollama-pvc