--- # platform/coredns — in-cluster split-horizon DNS (R-DNS-01 / R-DNS-03). # A single `coredns-custom` ConfigMap in kube-system that k3s CoreDNS imports as an extra server # block (see coredns-custom.yaml). Rendered by the `platform` Flux Kustomization, which supplies # ${GATEWAY_VIP} via substituteFrom cluster-vars (R-ENV-02). apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - coredns-custom.yaml # HA floor for the coredns Deployment itself — a separate concern from the split-horizon server # block above, and deliberately an HPA rather than a replica edit: k3s owns that Deployment via # its own deploy controller and re-stages `replicas: 1` on restart. hpa.yaml has the reasoning. - hpa.yaml