---
title: "Upgrade xNIC nodes on K8s"
slug: "upgrade-xnic-nodes-on-k8s"
updated: 2025-12-19T20:10:50Z
published: 2025-12-19T20:10:50Z
canonical: "docs.swxtch.io/upgrade-xnic-nodes-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.

# Upgrade xNIC nodes on K8s

**WHAT TO EXPECT**

The node upgrade is automatic based on the restart of the nodes containing the xNIC. In this article, users will learn how they can use this method to upgrade the xNIC nodes on K8s to match the cloudSwXtch version.

**Before upgrading the xNIC nodes on K8s**, users need to upgrade the cloudSwXtch to the latest version. See [Upgrading cloudSwXtch](/v2/docs/upgrading-cloudswxtch) for more information

#### Restarting the xNIC DaemonSet

1. Connect to a machine that has access to the Kubernetes cluster using **Cloud Shell** or any other means.
2. Run the following command:

```shell
kubectl rollout restart ds swx-xnic -n kube-system
```

This will restart the Kubernetes swxtch-xnic DaemonSet and update the xNIC version to match that of the cloudSwXtch.
