Draft: PDB for rke2-coredns pods
What does this MR do and why?
Add a podDisruptionBudget for the cluster DNS.
Before merge, must address these concerns :
-
Affinity rules for DNS pods -
Seems to replicate depending on available nodes number (vs numControlPlane like vault) -
rke2-coredns has a way to declare pdb through it's Helm chart values, but the way we declare the coredns unit wouldnt let us do this cleanly/as intended-, adding a kustomize-unit seems to be the cleanest way in this particular case, to discuss
Related reference(s)
This MR is a split made from !1169 (closed)
!1171 (closed) !1175 (closed) !1176 (closed) !1177 (closed)
Test coverage
Edited by Antoine Monlong