my-homelab-configs/infra/ai-stack/README.md

31 lines
1.0 KiB
Markdown

# Homelab AI stack
This stack keeps model routing outside Kubernetes so it can help diagnose
Kubernetes/Pimox failures while the cluster is degraded.
Run:
```bash
./jeannie deploy-ai-stack
```
Runtime split:
- Container: OmniRoute, because it is a restartable HTTP gateway with provider
API keys and no need for host-level SSH/Kubernetes mutation.
- Bare metal: Ollama, because it benefits from direct host hardware/runtime
access and already has a systemd lifecycle.
- Bare metal: `goose`, `holmes`, `hermes`, and Jeannie doctors, because they
need local kubeconfig, SSH to Pimox/worker nodes, and guarded deterministic
action paths.
Secrets:
- `~/open-router_key` seeds `OPENROUTER_API_KEY`.
- `~/nvidia_key` seeds `NVIDIA_API_KEY`.
- The generated env file is `/data/homelab-ai-stack/.env`, mode `0600`.
- Key files and generated env files are ignored by git.
The container name defaults to `omniroute` so this command owns the same gateway
identity used by Hermes and existing OpenAI-compatible clients.