Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling Kube-OVN 1.2.1

Perform the following operations with caution based on your requirements.

  1. Download the uninstallation script from the primary node.
    1
    wget https://raw.githubusercontent.com/alauda/kube-ovn/release-1.2/dist/images/cleanup.sh
    
  2. Run the uninstallation script on the primary node.
    1
    bash cleanup.sh
    
  3. Run the following commands on the primary node and compute nodes to clear the configuration saved in 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
    
  4. Restart all the nodes to ensure that the corresponding NIC information and iptables/ipset rules are cleared.