Repository navigation
Description
Problem Description
Git says that CoreDNS runs at 200m CPU and 384Mi memory. The live Deployment is the k3s packaged manifest, with a 170Mi limit and 1 replica. The files in k8s/coredns/ never apply, so a reader of git gets the wrong limit. This item is rank 6 of the cluster integration plan #4989. It is a configuration fix that ships now and needs no owner step.
Reproduction Steps
kubectl -n kube-system get deployment coredns -o jsonpath='{.spec.replicas} {.spec.template.spec.containers[0].resources}'kubectl -n kube-system get helmchart- Compare with
k8s/coredns/helmchartconfig.yaml,deployment-patch.yamlandvalues.yaml.
Expected vs Actual Behavior
Expected: the CoreDNS values in git are the live values.
Actual: the only HelmChart in kube-system is gateway-api-crd, so the HelmChartConfig has no target. No command applies the patch. The live limit is 170Mi with 1 replica. The 7 d peak is 114 MiB (67 %).
Proposed Fix
Option (b), with no owner step:
- Delete
k8s/coredns/helmchartconfig.yaml,deployment-patch.yamlandvalues.yaml. - Remove their entry in
tests/invariants/test_k8s_manifests.py(_TOKEN_EXCEPTIONS, line 450). - Correct
k8s/README.md(lines 460 and 1171). - Let
ContainerMemoryNearLimitof dan-petty/homelab#344 watch CoreDNS.
Option (a) is an optional owner decision on #4989: run CoreDNS from its Helm chart with 2 replicas and a larger limit. It is a host change (k3s --disable=coredns, or a .skip file for the packaged manifest). The recommended answer is not now.
Environment Diagnostics
Homelab k3s cluster with the packaged CoreDNS. Study: read-only kubectl get and Prometheus, 7 d to 2026-11-12.
Acceptance Criteria
git ls-files k8s/corednsis empty, and no test or document names the deleted files.k8s/README.mdstates the live CoreDNS limit and its source, the k3s packaged manifest.tests/invariants/test_k8s_manifests.pypasses.
Dependencies
None.
Source: #4989
Activity
dan-petty commentedon Nov 12, 2026
Deleting unused files that mislead readers; no runtime impact.Both touch CoreDNS configuration in the repo; dan-petty/devops-cli#822 adds metrics scraping while this candidate deletes files that k3s never applies.devops-cli-service commentedon Nov 12, 2026
Released in v0.119.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.119.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 15:46 UTC