c1 (Add): internal gateway + app tree, name-first (no pinned address) #1756
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1756
Loading…
Reference in a new issue
No description provided.
Delete branch "c1-internal-gateway"
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?
Serves the site app tree
<app>.apps.caosh.int.animeteamspeak.moe(machine-configs ADR-0005 amendment,clusters/mini/internal-appspattern) from c1, with no pinned address anywhere: c1's external-dns follows the Gateway's dynamic pool address through Gateway status, the routers deliver every pool address alike (eBGP + ECMP), and TTL 30s ages stale answers out. The Gateway's number is never written into any config, router rule, or probe.What lands
clusters/c1/gateway/resources/internal-gateway.yaml— Gatewaycilium-internal(HTTP+HTTPS,allowedListeners: All), nospec.addresses. Corrects the shared-mode note ingateway.yaml(shared = ListenerSets share their parent Gateway's address; each Gateway has its own Service + address).clusters/c1/internal-apps/:internal-apps-issuer: ClusterIssueropenbao-apps→ OpenBaopki-apps-caosh(iac#167 CA/role/policy), login viaauth/kubernetes-c1rolecert-manager, SAopenbao-apps-issuer(added to theopenbao-tokenreviewbinding). Trust anchor viacaBundleSecretRef→ thelab-root-caSecret trust-manager already delivers; this PR addscert-managerto the bundle's targetNamespaces and the namespace label, so the root keeps exactly one copy in git (the bundle file).httpbin:generic-templates/httpbinon c1.httpbin-routes: Certificate + ListenerSet + HTTPRoute; hostnames only in the apps zone.wait: truechains gate the rollout: issuer Ready → certificate issued.clusters/c1/dns/external-dns(existing instance, ownerc1): addsgateway-tlsroutesource,enableGatewayListenerSets: true,ttl: 30. The apps zone already rides theint.animeteamspeak.moefilter; the pdns API allowlist already admits it (it runs indns).clusters/mini/httpbin/resources/routes-internal.yamlretires here, so mini's external-dns (TXT ownermini) releaseshttpbin.apps.caosh.intand c1's (ownerc1) claims it. Minutes of NODATA during handover; never hand-edit the record.generic-templates/httpbin: remediation retries (gate rulehr-retries; failure-path only).Merge order
cert-managerrole onkubernetes-c1.internal-apps-issuerhaswait: trueand will visibly fail until it exists — that is the gate, not a bug.Verification done
kustomize buildon every touched dir; pre-push gate green (48 root objects, 32 KS, all dependsOn resolve, 0 FAIL).caBundleSecretRefaccepted; field unconditional since cert-manager 1.10), openbao RBAC, KS tree.listenersets,tlsroutes,certificates.After merge
kubectl --context c1 get gateway cilium-internalshows the address;dig httpbin.apps.caosh.int.animeteamspeak.moe @10.30.100.53matches it;curl -v https://httpbin.apps.caosh.int.animeteamspeak.moe/getverifies against the lab root from arch-ws.