Fix .deploy kubectl context: target LAN API endpoint, not the flaky tailnet route #25
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/galaxy-gen#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The makefile
.deployrunskubectl apply/rollout statusagainst the kubeconfig'skai-servercontext, whose serverhttps://kai-server:6443resolves (MagicDNS) to the tailnet IP100.69.164.66. From kais-macbook-pro that route is flaky/slow and i/o-timed-out mid-apply during the #23 cutover:The LAN endpoint
https://192.168.0.194:6443is rock-solid from on-LAN hosts and is in the cert SANs (it's what the CIDEPLOY_KUBECONFIGalready targets).Fix
.deploynow targets a configurablek8s-api, defaulting to the LAN endpoint, viakubectl --server=$(k8s-api)(CA + auth still come from the context, and--serverwas verified to TLS-validate against it):Override for off-LAN deploys where only the tailnet is reachable:
The broader deploy-path items that also surfaced (broken CI pipeline, host prereqs) moved to #26.
Harden the galaxy-gen deploy path (kubectl context timeout, broken CI pipeline, host prereqs)to Fix .deploy kubectl context: target LAN API endpoint, not the flaky tailnet route