[{"data":1,"prerenderedAt":500},["ShallowReactive",2],{"blog-homelab\u002Fhomelab-agent-rebuilt-my-talos-cluster":3,"translation-homelab\u002Fhomelab-agent-rebuilt-my-talos-cluster":6,"post-list":353},{"id":4,"title":5,"audience":6,"audio":7,"audioDuration":8,"body":9,"canonical":6,"cover":334,"cta":6,"date":335,"description":336,"draft":337,"extension":338,"locale":339,"meta":340,"navigation":341,"outcome":6,"path":342,"problem":6,"readingTime":286,"seo":343,"stem":344,"tags":345,"translationOf":6,"updatedAt":6,"__hash__":352},"blog\u002Fblog\u002Fhomelab\u002Fhomelab-agent-rebuilt-my-talos-cluster.md","I let an agent rebuild my Kubernetes cluster. It took 20 minutes.",null,"\u002Faudio\u002Fblog\u002Fhomelab\u002Fhomelab-agent-rebuilt-my-talos-cluster.mp3",166,{"type":10,"value":11,"toc":326},"minimark",[12,16,19,22,27,35,51,58,62,80,87,98,102,105,141,152,155,217,220,223,227,230,236,290,293,296,300,303,309,312,316,319,322],[13,14,15],"p",{},"I wanted to learn GitOps on Kubernetes. Instead, I got a cluster that an agent destroyed and rebuilt in 20 minutes. The 20 minutes start at my prompt and stop when the new nodes were installed. I did most of it through a chat window.",[13,17,18],{},"My first cluster took me three hours. I had a pile of blog posts and install guides open in other tabs. The shared storage refused to cooperate, and Grafana was the final boss. At the end I had a working cluster, but no energy left to learn the thing I built it for.",[13,20,21],{},"So I gave the next round to Hermes, the agent that runs in my homelab. I talk to it through a Telegram plugin or the CLI chat. My bot is called IRIS. I used no skills and no special tuning: one agent, a chat, and three Proxmox hosts.",[23,24,26],"h2",{"id":25},"root-on-my-hypervisors","Root on my hypervisors",[13,28,29,30,34],{},"Before it could build anything, it needed access. On each Proxmox host, I created a Linux user ",[31,32,33],"code",{},"iris",", added an SSH key, and gave it this sudo rule:",[36,37,42],"pre",{"className":38,"code":39,"language":40,"meta":41,"style":41},"language-txt shiki shiki-themes github-light github-dark github-dark","iris ALL=(ALL) NOPASSWD: ALL\n","txt","",[31,43,44],{"__ignoreMap":41},[45,46,49],"span",{"class":47,"line":48},"line",1,[45,50,39],{},[13,52,53,54,57],{},"That is root without a password, on all three of my hosts. I knew the risk, and the agent only runs a command after I approve it. This was also the one step that the agent could not do itself. The build log that Hermes wrote afterwards flags it too: ",[31,55,56],{},"NOPASSWD: ALL"," is broad by design. A hardened setup needs a restricted sudo policy or a scoped API token.",[23,59,61],{"id":60},"it-looked-before-it-deleted","It looked before it deleted",[13,63,64,65,68,69,68,72,75,76,79],{},"IRIS started with read-only commands: ",[31,66,67],{},"qm list",", ",[31,70,71],{},"pct list",[31,73,74],{},"pvesm status",", and a config dump for each VM. It found the four stopped Talos VMs of my hand-built cluster on ",[31,77,78],{},"pve-2",". It also made a list of what it must not touch: Home Assistant, UniFi, AdGuard, and the media VM with its 650 GB data disk.",[13,81,82,83,86],{},"I approved the deletion scope. Then it ran ",[31,84,85],{},"qm destroy"," on exactly those four IDs.",[13,88,89,90,93,94,97],{},"The inventory also changed the plan. IRIS first wanted to put the worker next to the media VM on ",[31,91,92],{},"pve-3",". It saw only about 1.1 GB of free RAM there, so it moved the worker to ",[31,95,96],{},"pve-1",".",[23,99,101],{"id":100},"where-it-got-stuck","Where it got stuck",[13,103,104],{},"I use only static addresses, so the new Talos VMs got no IPv4 lease. There was nothing to connect to. IRIS used IPv6 link-local through the Proxmox bridge to ask the first VM for the name of its network interface:",[36,106,110],{"className":107,"code":108,"language":109,"meta":41,"style":41},"language-bash shiki shiki-themes github-light github-dark github-dark","talosctl --nodes 'fe80::\u003Cnode-address>%25vmbr0' get links --insecure -o yaml\n","bash",[31,111,112],{"__ignoreMap":41},[45,113,114,118,122,126,129,132,135,138],{"class":47,"line":48},[45,115,117],{"class":116},"shcOC","talosctl",[45,119,121],{"class":120},"suiK_"," --nodes",[45,123,125],{"class":124},"sfrk1"," 'fe80::\u003Cnode-address>%25vmbr0'",[45,127,128],{"class":124}," get",[45,130,131],{"class":124}," links",[45,133,134],{"class":120}," --insecure",[45,136,137],{"class":120}," -o",[45,139,140],{"class":124}," yaml\n",[13,142,143,144,147,148,151],{},"The answer was ",[31,145,146],{},"ens18",", not ",[31,149,150],{},"eth0",". The static network config needs that name.",[13,153,154],{},"The other problems were smaller. All of them are problems that you get in a real build:",[156,157,158,174],"table",{},[159,160,161],"thead",{},[162,163,164,168,171],"tr",{},[165,166,167],"th",{},"Layer",[165,169,170],{},"Problem",[165,172,173],{},"Fix",[175,176,177,189,200],"tbody",{},[162,178,179,183,186],{},[180,181,182],"td",{},"Kubernetes API",[180,184,185],{},"The planned endpoint did not answer. Also, the Talos API on port 50000 cannot use the same listener.",[180,187,188],{},"A small HAProxy LXC on port 6443 in front of the three control planes. Talos management connects directly to the nodes.",[162,190,191,194,197],{},[180,192,193],{},"Git over SSH",[180,195,196],{},"Deploy keys failed. Port 22 was the normal OpenSSH of the container, not Gitea.",[180,198,199],{},"Enable the built-in SSH server of Gitea on port 2222.",[162,201,202,205,211],{},[180,203,204],{},"Git user",[180,206,207,208],{},"The Gitea log said ",[31,209,210],{},"Invalid SSH username git - must use gitea for all git operations via ssh",[180,212,213,214],{},"Use ",[31,215,216],{},"ssh:\u002F\u002Fgitea@\u003Chost>:2222\u002Fhomelab\u002Finfrastructure.git",[13,218,219],{},"I installed Gitea with a Proxmox helper script. Hermes helped me set up the repo structure. After I generated an API key, I let it do all the GitOps configuration. Flux is now the only GitOps controller. I had installed Argo CD during earlier experiments, and I removed it. Two controllers for the same job make no sense.",[13,221,222],{},"IRIS also made one decision on its own: it kept my media server out of Kubernetes. The log gives the reason. The cluster is a place to break things, and movie night must not depend on etcd quorum.",[23,224,226],{"id":225},"the-train","The train",[13,228,229],{},"The API key that I generated was read-only. Hermes needed write access, and only I can make that change in Gitea. I was on a train, and I could not reach my Gitea instance from there.",[13,231,232,233,235],{},"I asked IRIS how we could connect. It suggested Tailscale and built the node as a small, dedicated subnet-router LXC on ",[31,234,96],{},". It did not put the node on the Proxmox host or inside Talos. The LXC has 1 vCPU, 256 MiB RAM and a 4 GiB disk. This is the effective configuration:",[36,237,239],{"className":107,"code":238,"language":109,"meta":41,"style":41},"tailscale up \\\n  --hostname=home-vpn-gateway \\\n  --advertise-routes=192.168.2.0\u002F24 \\\n  --accept-dns=false \\\n  --accept-routes=false \\\n  --ssh=false\n",[31,240,241,252,260,268,276,284],{"__ignoreMap":41},[45,242,243,246,249],{"class":47,"line":48},[45,244,245],{"class":116},"tailscale",[45,247,248],{"class":124}," up",[45,250,251],{"class":120}," \\\n",[45,253,255,258],{"class":47,"line":254},2,[45,256,257],{"class":120},"  --hostname=home-vpn-gateway",[45,259,251],{"class":120},[45,261,263,266],{"class":47,"line":262},3,[45,264,265],{"class":120},"  --advertise-routes=192.168.2.0\u002F24",[45,267,251],{"class":120},[45,269,271,274],{"class":47,"line":270},4,[45,272,273],{"class":120},"  --accept-dns=false",[45,275,251],{"class":120},[45,277,279,282],{"class":47,"line":278},5,[45,280,281],{"class":120},"  --accept-routes=false",[45,283,251],{"class":120},[45,285,287],{"class":47,"line":286},6,[45,288,289],{"class":120},"  --ssh=false\n",[13,291,292],{},"The gateway advertises one subnet. It is not an exit node, and it does not run Tailscale SSH. Then IRIS gave me instructions for the steps that only a human can do: create the Tailscale account, install the app, and approve the advertised route. I also set AdGuard as the DNS server for the tailnet.",[13,294,295],{},"The gateway is outside the cluster. So remote access to the LAN continues to work when the cluster is down.",[23,297,299],{"id":298},"why-i-could-judge-it","Why I could judge it",[13,301,302],{},"Three hours against 20 minutes is not a fair comparison. The 20 minutes stop at the installed nodes, and my three hours contained more than that. The second run also had a known target, and my first attempt as a reference. I could read what IRIS built because I had built the first cluster by hand. I knew what shared storage must look like. I knew that three control plane VMs on one host are not three failure domains.",[13,304,305,306,308],{},"IRIS knew that too, to its credit. Its own list of lessons says: three VMs are not three physical failure domains. This is a good topology to learn with, but it is not physical-host HA. If you lose one VM, etcd keeps quorum. If you lose ",[31,307,78],{},", you lose the full control plane.",[13,310,311],{},"It is also not perfect about its own history. Later, I asked how the cluster was built. Hermes first gave the wrong answer about who installed Flux. Then it corrected itself from the session record. The written build log settled the question. I check an agent's memory of its own work in the same way as anybody else's.",[23,313,315],{"id":314},"what-i-dont-know-yet","What I don't know yet",[13,317,318],{},"I know how I review one cluster in my own homelab. There, the worst result is a bad evening. I don't know what that review looks like when the environment belongs to someone else, or when there are thirty of them. That is what I want to find out next.",[13,320,321],{},"The build log that IRIS wrote is the source for the technical details in this post.",[323,324,325],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}",{"title":41,"searchDepth":254,"depth":254,"links":327},[328,329,330,331,332,333],{"id":25,"depth":254,"text":26},{"id":60,"depth":254,"text":61},{"id":100,"depth":254,"text":101},{"id":225,"depth":254,"text":226},{"id":298,"depth":254,"text":299},{"id":314,"depth":254,"text":315},"\u002Fimages\u002Fblog\u002Fhomelab-agent-talos.webp","2026-10-28","I wanted to learn GitOps on Kubernetes but had no time, so my homelab agent built the cluster for me. What it did correctly, what only I could do, and why I could judge the result.",false,"md","en",{},true,"\u002Fblog\u002Fhomelab\u002Fhomelab-agent-rebuilt-my-talos-cluster",{"title":5,"description":336},"blog\u002Fhomelab\u002Fhomelab-agent-rebuilt-my-talos-cluster",[346,347,348,349,350,351],"Homelab","AI","Proxmox","SelfHosting","Kubernetes","GitOps","qpBtRJNEsCwG_bmtU8lugHa52HlAzU77yqiMXb8j0kY",[354,366,368,378,389,400,410,416,427,440,451,460,470,477,488,494],{"path":355,"title":356,"description":357,"date":358,"updatedAt":6,"tags":359,"readingTime":364,"locale":339,"cover":365,"draft":337},"\u002Fblog\u002Fazure\u002Fservice-enablement-foundry-documentation","Using Microsoft Foundry to Draft Azure Service Enablement Documentation","A small, human-reviewed Foundry prompt agent that uses Microsoft Learn and web search to draft evidence-backed service enablement notes for Azure Storage.","2026-11-11",[360,361,362,347,363],"Azure","Microsoft Foundry","Governance","Security",16,"\u002Fimages\u002Fblog\u002Fservice-enablement\u002Ffoundry-cover.avif",{"path":342,"title":5,"description":336,"date":335,"updatedAt":6,"tags":367,"readingTime":286,"locale":339,"cover":334,"draft":337},[346,347,348,349,350,351],{"path":369,"title":370,"description":371,"date":372,"updatedAt":373,"tags":374,"readingTime":376,"locale":339,"cover":377,"draft":337},"\u002Fblog\u002Fazure\u002Fservice-enablement-why-and-how","Azure service enablement: why and how","Learn how to assess an Azure service, map security controls to enforceable policy, and give workload teams the guidance they need to deploy it.","2026-09-25","2026-09-28",[360,362,363,375],"IAM",9,"\u002Fimages\u002Fblog\u002Fservice-enablement\u002Fcover.avif",{"path":379,"title":380,"description":381,"date":382,"updatedAt":6,"tags":383,"readingTime":278,"locale":339,"cover":388,"draft":337},"\u002Fblog\u002Fweb\u002Fcommand-deck-redesign","The Command Deck Redesign: Turning My Blog Into a Portfolio","My blog got a complete visual overhaul, designed together with AI. Why I went portfolio-first, how a Mass Effect vibe stays professional, and what I said no to along the way.","2026-07-05",[384,385,347,386,387],"Nuxt","VibeCoding","WebDev","Design","\u002Fimages\u002Fblog\u002Fcommand-deck-redesign\u002Fcover.svg",{"path":390,"title":391,"description":392,"date":393,"updatedAt":6,"tags":394,"readingTime":254,"locale":339,"cover":399,"draft":337},"\u002Fblog\u002Fendpoints\u002Fintune-ubuntu-26-04","Intune & Ubuntu 26.04","Testing out the Intune Portal installer script from Microsoft on Ubuntu 26.04","2026-06-04",[395,396,397,398],"Linux","Ubuntu","Software","Intune","\u002Fimages\u002Fblog\u002Fintune-ubuntu-24-04\u002Fcover.avif",{"path":401,"title":402,"description":403,"date":404,"updatedAt":6,"tags":405,"readingTime":286,"locale":339,"cover":409,"draft":337},"\u002Fblog\u002Fhomelab\u002Funifi-os-server-lock-out","Restore access to Unifi OS Server","Locked out after a cross-instance backup restore? Here's how UniFi OS Server actually stores passwords — across MongoDB, PostgreSQL, and a file cache — and how to reset them when everything is inconsistent.","2026-05-26",[406,349,348,407,395,408,346],"UniFi","Networking","PostgreSQL","\u002Fimages\u002Fblog\u002Funifi-os-server.avif",{"path":411,"title":412,"description":413,"date":414,"updatedAt":6,"tags":415,"readingTime":262,"locale":339,"cover":399,"draft":337},"\u002Fblog\u002Fendpoints\u002Fintune-ubuntu-24-04-in-2026","Intune & Ubuntu 24.04 revisited in 2026","Two years later, Intune onboarding on a fresh Ubuntu 24.04.4 install is finally simple: official script, quick compliance, and no workaround repos needed.","2026-04-22",[395,396,397,398],{"path":417,"title":418,"description":419,"date":420,"updatedAt":6,"tags":421,"readingTime":376,"locale":339,"cover":426,"draft":337},"\u002Fblog\u002Fhomelab\u002Fshelly-mcp-server-home-assistant-migration","Why I Built a Shelly MCP Server (So I Could Migrate to Home Assistant)","I wanted a practical way to migrate Shelly settings into Home Assistant workflows through MCP. I found a Home Assistant MCP server, but no reliable Shelly MCP server, so I built one.","2026-04-14",[422,423,424,349,385,425,347],"Shelly","Home Assistant","MCP","IoT","\u002Fimages\u002Fblog\u002Fshelly-mcp\u002Fshelly-mcp-cover.avif",{"path":428,"title":429,"description":430,"date":431,"updatedAt":6,"tags":432,"readingTime":438,"locale":339,"cover":439,"draft":337},"\u002Fblog\u002Fai\u002Fultimate-selfhosted-ai-chat","My Ultimate Self-Hosted AI Chat Stack","One Docker Compose stack to rule them all: private chat, local and cloud LLMs, image generation, voice input, web search, document research, and full observability — all on your own hardware.","2026-04-02",[347,349,433,434,435,436,437],"Docker","OpenWebUI","LiteLLM","Privacy","DevOps",15,"\u002Fimages\u002Fblog\u002Fai-stack\u002Fai-stack-infographic.avif",{"path":441,"title":442,"description":443,"date":444,"updatedAt":6,"tags":445,"readingTime":449,"locale":339,"cover":450,"draft":337},"\u002Fblog\u002Fdevops\u002Fbranch-manager-azure-devops","Branch Manager: A Web UI for Cleaning Up Stale Azure DevOps Branches","I built a self-hosted web tool to filter, review, and bulk-delete stale branches across all repositories in an Azure DevOps project, because the portal was never designed for this.","2026-03-05",[446,360,447,385,448],"Azure DevOps","Tools","Git",8,"\u002Fimages\u002Fblog\u002Fbranch-manager-azure-devops\u002Fbranch-manager-login-light-mode.avif",{"path":452,"title":453,"description":454,"date":455,"updatedAt":6,"tags":456,"readingTime":458,"locale":339,"cover":459,"draft":337},"\u002Fblog\u002Fweb\u002Ffrom-hugo-to-nuxt-vibe-coding","From Hugo to Nuxt: Why I Switched to Vibe Code My Blog","How switching from Hugo to Nuxt opened the door to vibe coding with GenAI and why a mature framework makes all the difference when you want to build, explore, and experiment fast.","2026-03-03",[384,457,347,385,386],"Hugo",7,"\u002Fimages\u002Fblog\u002Ffrom-hugo-to-nuxt\u002Fcover.avif",{"path":461,"title":462,"description":463,"date":464,"updatedAt":6,"tags":465,"readingTime":262,"locale":339,"cover":469,"draft":337},"\u002Fblog\u002Fazure\u002Fpim-conditional-role-assignments","PIM + Conditional Role Assignments: Secure Autonomy for Azure Landing Zones","Combine PIM eligible roles with conditional role assignments to give teams just-in-time Owner access while preventing privilege escalation.","2025-07-08",[360,466,467,363,375,468],"RBAC","PIM","Identity","\u002Fimages\u002Fblog\u002Fazure-privileged-identity-management-as-code\u002Fpadlock.avif",{"path":471,"title":472,"description":473,"date":474,"updatedAt":6,"tags":475,"readingTime":278,"locale":339,"cover":476,"draft":337},"\u002Fblog\u002Fazure\u002Fconditional-role-assignments","Azure Conditional Role Assignments with Bicep!","Implement secure workload autonomy using Azure conditional role assignments with Bicep and Azure Verified Modules.","2025-07-01",[360,466,363,375,468],"\u002Fimages\u002Fblog\u002Fconditional-role-assignments\u002Fcover.avif",{"path":478,"title":479,"description":480,"date":481,"updatedAt":6,"tags":482,"readingTime":286,"locale":339,"cover":487,"draft":337},"\u002Fblog\u002Fazure\u002Fentraid-banned-password-list","Centralizing Password Policy Management in Multi-Tenant Entra ID Environments","Automate banned password list management across multiple Entra ID tenants using Microsoft Graph API, PowerShell and Azure DevOps.","2024-12-16",[483,484,485,486,468],"Entra","Authentication","PowerShell","Graph","\u002Fimages\u002Fblog\u002Fentraid-banned-password-list\u002Fcover.avif",{"path":489,"title":490,"description":491,"date":492,"updatedAt":6,"tags":493,"readingTime":286,"locale":339,"cover":469,"draft":337},"\u002Fblog\u002Fazure\u002Fazure-privileged-identity-management-as-code","Azure Privileged Identity Management as code","Configure PIM Eligible Role Assignments on Azure subscriptions using the ARM API in PowerShell, including role policies, approvers, and eligible role creation.","2024-05-01",[467,360,485,375,468],{"path":495,"title":496,"description":497,"date":498,"updatedAt":6,"tags":499,"readingTime":278,"locale":339,"cover":399,"draft":337},"\u002Fblog\u002Fendpoints\u002Fintune-ubuntu-24-04","Intune & Ubuntu 24.04","A complete guide to setting up Ubuntu 24.04 LTS with Intune, including the Intune Portal, Microsoft Edge, development tools, and more.","2024-04-22",[395,396,397,398],1794858214273]