Files
homelab/k8s-ng/core/coredns-config/service.yaml
T
Aleksandr Bogomiakov aaa1e9ae7e
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 21s
Run CoreDNS on the AI core node and prefer local DNS replicas
2026-10-15 00:41:04 +01:00

12 lines
362 B
YAML

# Keep DNS on the caller's node when it has a healthy CoreDNS replica. K3s owns
# the rest of this Service; server-side apply preserves its ports and selector.
apiVersion: v1
kind: Service
metadata:
name: kube-dns
namespace: kube-system
annotations:
argocd.argoproj.io/sync-options: Prune=false,Delete=false
spec:
trafficDistribution: PreferSameNode