Uninstall xNIC DaemonSet on K8s

Prev Next

WHAT TO EXPECT

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

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

  1. Sign in to the Cloud console

  2. Open the corresponding Cloud Shell as Bash.

  3. Run the following command in the terminal:

    ./xnic_ds_installer.sh -u 
  4. 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_IP> placeholder for the actual ctrl-IP of the cloudSwXtch):

kubectl run installer --image=busybox -- sh -c "wget http://<cloudSwXtch_IP>/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