# Upgrading Connectware to 2.0.6 (Kubernetes)

Connectware 2.0.6 fixes an issue with Systemstate functionality on agents.

## Disclaimer

{% hint style="warning" %}
When upgrading your Connectware instance, follow the upgrade path based on your current version:

* **If you are on version 1.4.1 or below**
  * Upgrade sequentially: **1.5.0 → 1.7.0 → 2.0.0 → 2.0.1 → 2.0.2 → 2.0.5 → 2.0.6**
* **If you are between version 1.5.0 and 1.6.2**
  * Upgrade sequentially: **1.7.0 → 2.0.0 → 2.0.1 → 2.0.2 → 2.0.5 → 2.0.6**
* **If you are on version 1.7.0 or newer (but below 2.0.0)**
  * Upgrade sequentially: **2.0.0 → 2.0.1 → 2.0.2 → 2.0.5 → 2.0.6**
* **If you are on version 2.0.0**
  * Upgrade sequentially: **2.0.1 → 2.0.2 → 2.0.5 → 2.0.6**
* **If you are on version 2.0.1**
  * Upgrade sequentially: **2.0.2 → 2.0.5 → 2.0.6**
* **If you are on version 2.0.2, 2.0.3, or 2.0.4**
  * Upgrade sequentially: **2.0.5 → 2.0.6**
* **If you are on version 2.0.5**
  * Upgrade directly to **2.0.6**
* **If you are performing a clean or new installation**
  * No upgrade path required. You can install the **latest available version** directly.

**Detailed instructions on each upgrade step**

* [Upgrading Connectware to 2.0.6 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-6-kubernetes.md)
* [Upgrading Connectware to 2.0.5 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-5-kubernetes.md)
* [Upgrading Connectware to 2.0.2 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-2-kubernetes.md)
* [Upgrading Connectware to 2.0.1 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-1-kubernetes.md)
* [Upgrading Connectware to 2.0.0 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-0-kubernetes.md)
* [Upgrading Connectware to 1.7.0 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-1-7-0-kubernetes.md)
* [Upgrading from Connectware 1.x to 1.5.0 (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-from-1-x-to-1-5-0-kubernetes.md)
  {% endhint %}

## Upgrading Procedure

{% hint style="warning" %}
If your installation is older than 2.0.5, first complete the [upgrade to 2.0.5](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-5-kubernetes.md) before upgrading to 2.0.6.
{% endhint %}

1. Update the existing 2.0.5 deployment of the auth-server to use the 2.0.6 image and wait until the process is complete:

{% code lineNumbers="true" %}

```bash
kubectl patch -n ${NAMESPACE} deployment auth-server -p "{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"auth-server\",\"image\":\"registry.cybus.io/cybus/auth-server:2.0.6\"}]}}}}"
```

{% endcode %}

To verify that the auth-server is fully initialized, check for the `Connectware service bootstrap completed` log line in each auth-server container after its restart.

2. Download and install Connectware 2.0.6. For more information, see [Upgrading Connectware (Kubernetes)](/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes.md).
3. If your agents are managed by separate Helm installations, upgrade those agents to version 2.0.6 as well. For more information, see [Upgrading the connectware-agent Helm Chart](/2-1-2/documentation/agents/agents-in-kubernetes/upgrading-the-connectware-agent-helm-chart.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cybus.io/2-1-2/documentation/installation-and-upgrades/upgrading-connectware/upgrading-connectware-kubernetes/upgrading-connectware-to-2-0-6-kubernetes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
