Uninstall xNIC DaemonSet on K8s

Prev Next

WHAT TO EXPECT

In this article, users will learn how to uninstall an xNIC DaemonSet on a Kubernetes cluster.

To uninstall the xNIC DaemonSet on K8s, please follow these steps: 

  1. Connect to a machine that has access to the Kubernetes cluster using Cloud Shell or any other means.

  2. Run the following command in the terminal:

    ./xnic_ds_installer.sh -u 
  3. xNIC DaemonSet on K8s should now be uninstalled. 

NOTE

If the CloudShell session does not have the script, users can download it using (remember to change the <cloudSwXtch_ctrl_IP> placeholder for the actual ctrl-IP of the cloudSwXtch):

kubectl run installer --image=busybox -- sh -c "wget http://<cloudSwXtch_ctrl_IP>/swx/services/install/xnic_ds_installer.sh; sleep 3650"
kubectl cp default/installer:/xnic_ds_installer.sh xnic_ds_installer.sh
kubectl delete po/installer --grace-period 1
chmod +x xnic_ds_installer.sh

In the event that the cloudSwXtch is not available anymore, contact support@swxtch.io for further assistance.