# 4. How to upgrade Kubernetes Cluster in HI GIO Portal

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

This is a document for how to upgrade HI GIO Kubernetes Cluster.

Step for performing the upgrade:

* The versions of software in this guide are as follows:
* Upgrade Kubernetes Cluster.
* Validate Kubernetes Cluster after the upgrade.

{% hint style="info" %}
The versions of the software are as follows

* Kubernetes Version: 1.23.17+vmware.1
* TKG Product Version: 2.2.0
* Service running on the cluster: Voting web app
* Component running the service:
  {% endhint %}

<figure><img src="/files/ugcrZ44l94w8DQqKPlUq" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/llNOnY1PCsMavAmRJkSw" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/y5HLKL9vejA4NTsZwfsA" alt=""><figcaption></figcaption></figure>

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% tabs %}
{% tab title="I. UPGRADE Kubernetes Clusters:" %}
**Step 1:** From the vCD portal, choose **More** → Kubernetes Container Clusters

<figure><img src="/files/SF8IBfprZ1kOVyNjfXRB" alt=""><figcaption></figcaption></figure>

**Step 2:** Choose the cluster you want to upgrade to.

<figure><img src="/files/RP45seWPprwIAcSKBius" alt=""><figcaption></figcaption></figure>

**Step 3:** Choose **UPGRADE.**

<figure><img src="/files/uQ1ZK5un9b9FdsUPojcK" alt=""><figcaption></figcaption></figure>

**Step 4:** Verify the **current usage of Kubernetes and TKG Product versions are correct.**

<figure><img src="/files/ljHdvCCSSaiicF2gV4YZ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5Bgch2H7O3qBemFJWXPv" alt=""><figcaption></figcaption></figure>

**Step 5:** Then choose the **Available upgrade options** → **UPGRADE**.

<figure><img src="/files/72Uhx2On6ojtKdVilJwB" alt=""><figcaption></figcaption></figure>

**Step 6:** Wait for the cluster to perform the upgrade completed.
{% endtab %}

{% tab title="II. Validate Kubernetes Cluster after the upgrade." %}
**Step 1:** After completion, the cluster version will change to the version you choose above.

<figure><img src="/files/bgT3rLecxoIayaV0ZoEh" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IV1ouQZlkTjxECYDvlBN" alt=""><figcaption></figcaption></figure>

**Step 2:** Test the component after performing the upgrade, and ensure that everything is running normally.

<figure><img src="/files/EWMwchiIUX9Bk9E3PJAX" alt=""><figcaption></figcaption></figure>

**Step 3:** Testing service after the upgrade, and it is still running normally.

<figure><img src="/files/zF54OKx3s1oZJpct6kiv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LzGCDLpX3ANEWbEB2jVw" alt=""><figcaption></figcaption></figure>

The upgrade is completed.
{% endtab %}
{% endtabs %}


---

# 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.higiocloud.vn/hi-gio-kubernetes/4.-how-to-upgrade-kubernetes-cluster-in-hi-gio-portal.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.
