Clear the critical and high npm audit findings. Keep provider versions
unchanged: @pulumi/kubernetes 4.35.0 makes the k8s-infra preview update
the Longhorn, cert-manager and NFS CSI Helm releases, and it doesn't fix
the remaining moderate findings. Provider updates will be separate.
A normal pulumi up can't rebuild the cluster: bootstrap commands run once, the later stacks' state describes the old cluster, and monitoring's import options fail on a fresh one.
The Proxmox API token has admin rights but was sent with TLS verification off and, like the k3s token, was visible in process arguments. Verify each host against its public CA in certs/ and pass both tokens outside the command line.
Fetch the k3s installer from the pinned release tag so the script cannot change independently of the version. The new environment and stdin inputs are ignored so they do not re-run commands on live nodes.
A changed node IP or SSH key could re-run the unpinned k3s installer on live nodes, so ignore connection changes and pin k3s to the version the cluster runs.
Several steps reported success without reaching the desired state: a failed Longhorn mount fell through to the root disk, any HTTP error passed the VIP check, and VM start errors were swallowed. Each step now checks its outcome. mkfs only runs when blkid reports an empty disk, and package installs wait for cloud-init.
Bootstrap commands used VM IDs as triggers, so renumbering VMs would re-run the unpinned k3s installer on every node and append duplicate fstab entries. Treat them as run-once and re-run them explicitly after recreating a VM. Also start master-2 through pve-esprimo, where it now lives.
Following the Claude Code memory docs: drop architecture lists, generic commands and CI details Claude can read from the code, keep the reasons behind decisions, and fix the outdated provider and pfSense SDK statements.
The pfSense and TrueNAS procedures are for people, so they no longer load as Claude context. The stack CLAUDE.md files keep only what the code cannot show.
Every join and the exported kubeconfig previously pointed at master1Ip,
so losing master-1 cut off API access even with etcd quorum intact. Use
controlPlaneVipAddress (a pfSense IP Alias fronted by HAProxy across all
three masters) instead, add it as a TLS SAN on master-1, and wait for
the VIP's /healthz before any other node joins.
The VIP is set up manually on pfSense rather than via a second
kube-vip/ARP VIP: API access is too critical to depend on the same
failover mechanism that serves LoadBalancer Services.
Also strips trailing whitespace from the Longhorn disk mount script.
qemu-guest-agent isn't present in the stock Ubuntu Noble cloud image,
which was causing pulumi refresh on proxmox-infra to block up to 15m
per VM waiting for agent data that never arrives.
Wires the k8s-bootstrap join sequence (start, SSH wait, k3s agent join,
Longhorn disk mount) and the k8s-infra Longhorn disk patch for worker-3.
Its VM was already provisioned by proxmox-infra in an earlier branch.