- 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>
95 lines
2 KiB
YAML
95 lines
2 KiB
YAML
---
|
|
# Legacy default-namespace resources
|
|
# These are the NFS subdir provisioner deployments and the legacy ollama deployment.
|
|
# NFS provisioners are managed via Helm — see helm/nfs-provisioners/ for values files.
|
|
# The ollama deployment here is a legacy entry (scaled to 0) — the active ollama
|
|
# is in the 'ai' namespace. The hp-fast-pv / ollama-data-pvc bind a 1500Gi hostPath
|
|
# on the HP ProLiant at /mnt/hp_fast.
|
|
---
|
|
# hp-fast-pv: hostPath PV on HP ProLiant VMs (path /mnt/hp_fast, 1500Gi)
|
|
# No nodeAffinity was set originally — binding may be unreliable.
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
annotations: {}
|
|
name: hp-fast-pv
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 1500Gi
|
|
hostPath:
|
|
path: /mnt/hp_fast
|
|
persistentVolumeReclaimPolicy: Retain
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama-data-pvc
|
|
namespace: default
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 1500Gi
|
|
storageClassName: ''
|
|
volumeName: hp-fast-pv
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama-data
|
|
namespace: default
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 100Gi
|
|
storageClassName: nfs-vtrak
|
|
---
|
|
# Legacy ollama deployment in default namespace (scaled to 0, inactive)
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ollama
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ollama
|
|
spec:
|
|
containers:
|
|
- image: ollama/ollama:latest
|
|
name: ollama
|
|
ports:
|
|
- containerPort: 11434
|
|
volumeMounts:
|
|
- mountPath: /root/.ollama
|
|
name: ollama-storage
|
|
volumes:
|
|
- name: ollama-storage
|
|
persistentVolumeClaim:
|
|
claimName: ollama-data-pvc
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations: {}
|
|
name: ollama
|
|
namespace: default
|
|
spec:
|
|
ports:
|
|
- port: 11434
|
|
targetPort: 11434
|
|
selector:
|
|
app: ollama
|