--- title: "Uninstall xNIC DaemonSet on K8s" slug: "uninstall-xnic-on-k8s" updated: 2025-12-19T20:10:35Z published: 2025-12-19T20:10:35Z canonical: "docs.swxtch.io/uninstall-xnic-on-k8s" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.swxtch.io/llms.txt > Use this file to discover all available pages before exploring further. # Uninstall xNIC DaemonSet on K8s > [!NOTE] > **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: ```shell ./xnic_ds_installer.sh -u ``` 3. xNIC DaemonSet on K8s should now be uninstalled. > [!WARNING] > NOTE > > If the CloudShell session does not have the script, users can download it using (remember to change the placeholder for the actual ctrl-IP of the cloudSwXtch): > > ```shell > kubectl run installer --image=busybox -- sh -c "wget http:///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](mailto:support@swxtch.io) for further assistance.