Uninstallation
If you need to delete Kube-OVN and replace other network plugins, perform the following steps to delete Kube-OVN components and OVS configuration to prevent interference to other network plugins.
- Use the cleanup script to uninstall the resources created by Kubernetes.
Obtain the script described in Cleanup Script, grant the execute permission on the script, and run the following command on the master Kubernetes nodes:
1bash cleanup.sh - Delete the configuration of the ovsdb and Open vSwitch.
1 2 3 4 5 6 7 8
rm -rf /var/run/openvswitch rm -rf /var/run/ovn rm -rf /etc/origin/openvswitch/ rm -rf /etc/origin/ovn/ rm -rf /etc/cni/net.d/00-kube-ovn.conflist rm -rf /etc/cni/net.d/01-kube-ovn.conflist rm -rf /var/log/openvswitch rm -rf /var/log/ovn
- Restart the nodes and ensure that the corresponding NIC information, iptables rules, and ipset rules are deleted.
Parent topic: Quick Start