From 26113aee420cbc5e593193e57bcc95fa9ce74b4f Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sat, 17 Jan 2026 13:33:09 -0800 Subject: [PATCH] Remove Brewfile from Phase 0 (it's for gilbert tooling only) Brewfile is for development tooling on gilbert, not for indri services. Ansible roles handle homebrew installations on indri directly. Co-Authored-By: Claude Opus 4.5 --- docs/k8s-migration.md | 59 +++++++++++-------------------------------- 1 file changed, 15 insertions(+), 44 deletions(-) diff --git a/docs/k8s-migration.md b/docs/k8s-migration.md index 90e7ad9..bf0bdb8 100644 --- a/docs/k8s-migration.md +++ b/docs/k8s-migration.md @@ -78,35 +78,7 @@ This applies to all mcquack LaunchAgents (zot, devpi, kiwix, borgmatic, metrics --- -### Step 0.1: Update Brewfile and Install Dependencies - -**Files to modify:** -- `Brewfile` - -**Changes:** -```ruby -# Add to Brewfile -brew "podman" -brew "minikube" -brew "zot" # Check if available, otherwise install binary manually -``` - -**Testing:** -```bash -# On gilbert -brew bundle --file=Brewfile - -# On indri (via ansible or manual) -ssh indri 'brew install podman minikube' - -# Verify installations -ssh indri 'podman --version' -ssh indri 'minikube version' -``` - ---- - -### Step 0.2: Update Pulumi ACLs (BEFORE Tailscale serve) +### Step 0.1: Update Pulumi ACLs (BEFORE Tailscale serve) **Files to modify:** - `pulumi/policy.hujson` @@ -134,7 +106,7 @@ mise run tailnet-up # Apply changes --- -### Step 0.3: Create Tailscale Services in Admin Console (MANUAL) +### Step 0.2: Create Tailscale Services in Admin Console (MANUAL) > **CRITICAL**: Do this BEFORE running any ansible that calls `tailscale serve` @@ -152,7 +124,7 @@ tailscale status | grep registry --- -### Step 0.4: Create Zot Registry Ansible Role +### Step 0.3: Create Zot Registry Ansible Role **New files:** ``` @@ -225,7 +197,7 @@ ssh indri 'tail -20 ~/Library/Logs/mcquack.zot.err.log' --- -### Step 0.5: Add Zot to Tailscale Serve +### Step 0.4: Add Zot to Tailscale Serve **Files to modify:** - `ansible/roles/tailscale_serve/defaults/main.yml` @@ -251,7 +223,7 @@ curl -s https://registry.tail8d86e.ts.net/v2/_catalog --- -### Step 0.6: Create Zot Metrics Role +### Step 0.5: Create Zot Metrics Role **New files:** ``` @@ -305,7 +277,7 @@ curl -s "http://indri:9090/api/v1/query?query=zot_up" | jq '.data.result[0].valu --- -### Step 0.7: Add Zot Log Collection to Alloy +### Step 0.6: Add Zot Log Collection to Alloy **Files to modify:** - `ansible/roles/alloy/templates/config.alloy.j2` @@ -341,7 +313,7 @@ ssh indri 'brew services restart grafana-alloy' --- -### Step 0.8: Update indri-services-check Script +### Step 0.7: Update indri-services-check Script **Files to modify:** - `mise-tasks/indri-services-check` @@ -373,7 +345,7 @@ mise run indri-services-check --- -### Step 0.9: Install and Configure Podman on Indri +### Step 0.8: Install and Configure Podman on Indri **New files:** ``` @@ -416,7 +388,7 @@ ssh indri 'podman run --rm hello-world' --- -### Step 0.10: Install and Configure Minikube +### Step 0.9: Install and Configure Minikube **New files:** ``` @@ -477,7 +449,7 @@ ssh indri 'kubectl get nodes' --- -### Step 0.11: Configure Kubeconfig on Gilbert +### Step 0.10: Configure Kubeconfig on Gilbert **Manual steps** (kubeconfig management is complex with work configs): @@ -512,7 +484,7 @@ k9s --- -### Step 0.12: Add Minikube to indri-services-check +### Step 0.11: Add Minikube to indri-services-check **Files to modify:** - `mise-tasks/indri-services-check` @@ -538,7 +510,7 @@ mise run indri-services-check --- -### Step 0.13: Create Zot Grafana Dashboard +### Step 0.12: Create Zot Grafana Dashboard **New files:** - `ansible/roles/grafana/files/dashboards/zot.json` @@ -560,7 +532,7 @@ mise run provision-indri -- --tags grafana --- -### Step 0.14: Create Minikube Grafana Dashboard +### Step 0.13: Create Minikube Grafana Dashboard **New files:** - `ansible/roles/grafana/files/dashboards/minikube.json` @@ -579,7 +551,7 @@ ssh indri 'kubectl apply -f https://raw.githubusercontent.com/kubernetes/kube-st --- -### Step 0.15: Create Zettelkasten Documentation +### Step 0.14: Create Zettelkasten Documentation **New files:** - `~/code/personal/zk/zot.md` @@ -636,7 +608,7 @@ tail -f ~/Library/Logs/mcquack.zot.err.log --- -### Step 0.16: Update Main Playbook +### Step 0.15: Update Main Playbook **Files to modify:** - `ansible/playbooks/indri.yml` @@ -750,7 +722,6 @@ rm ~/code/personal/zk/{zot,minikube}.md | File | Changes | |------|---------| -| `Brewfile` | Add podman, minikube | | `pulumi/policy.hujson` | Add tag:registry, tag:k8s, ACL rules | | `ansible/playbooks/indri.yml` | Add new roles | | `ansible/roles/tailscale_serve/defaults/main.yml` | Add svc:registry |