improve "kubeadm reset" kube-proxy cleanup #3133
Labels
area/kube-proxy
area/reset
kind/documentation
Categorizes issue or PR as related to documentation.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
@pacoxu pointed out the kubeadm reset kube-proxy cleanup instructions in kubernetes/kubernetes#128886. I started writing a better version:
But it seems weird and awkward that we explain how to clean up nftables and the ipvs half of ipvs mode, but we don't explain how to clean up iptables (including the iptables half of ipvs mode). Plus, kubeadm is no longer requiring the user to have the iptables binaries installed any more anyway...
kube-proxy already has a
--cleanup
flag that will clean up all iptables, ipvs, and nftables rules. Maybe it would be nicer to tell the user to run something like:(not tested). Or maybe something with
crictl
(except obviously the user isn't going to have that installed). Or maybekubeadm reset
could (optionally?) run the pod itself via CRI? Or by running kubelet in standalone mode just long enough to run one pod? I'm not sure what would be easiest for kubeadm...Anyway, feel free to just take the patch above if you want the simple fix.
The text was updated successfully, but these errors were encountered: