- Add .gitignore: exclude compiled binaries, build artifacts, and Helm values files containing real secrets (authentik, prometheus) - Add all Kubernetes deployment manifests (deployment/) - Add services source code: ha-sync, device-inventory, games-console, paperclip, parts-inventory - Add Ansible orchestration: playbooks, roles, inventory, cloud-init - Add hardware specs, execution plans, scripts, HOMELAB.md - Add skills/homelab/SKILL.md + skills/install.sh to preserve Copilot skill - Remove previously-tracked inventory-cli binary from git index Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
---
|
|
# NOTE: ollama in the 'ai' namespace is currently scaled to 0 replicas (intentionally stopped).
|
|
# The actual AI workload runs on the openclaw VM (192.168.2.88) via Ollama system service.
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama-data
|
|
namespace: ai
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 100Gi
|
|
storageClassName: nfs-vtrak
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama
|
|
namespace: ai
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ollama
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ollama
|
|
spec:
|
|
containers:
|
|
- image: ollama/ollama:latest
|
|
name: ollama
|
|
ports:
|
|
- containerPort: 11434
|
|
name: http
|
|
resources:
|
|
limits:
|
|
cpu: '8'
|
|
memory: 24Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 2Gi
|
|
volumeMounts:
|
|
- mountPath: /root/.ollama
|
|
name: ollama-storage
|
|
volumes:
|
|
- name: ollama-storage
|
|
persistentVolumeClaim:
|
|
claimName: ollama-data
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama
|
|
namespace: ai
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 11434
|
|
targetPort: 11434
|
|
selector:
|
|
app: ollama
|