# Custom Labels Deleted From the Worker Node post Upgrade.

## Problem

* The custom labels added to the worker node are deleted post kubernetes upgrade from v1.20 to v1.21.

## Environment

* Platform9 Managed Kubernetes - v5.5
* Kubernetes Upgrade from v1.20 to v1.21

## Cause

* The exact reason behind the issue is still unknown and our engineering team is currently working on this issue to identify the same.

## Workaround

* The current workaround to resolve this issue is to manually apply the custom labels to the worker node using below mentioned command

{% tabs %}
{% tab title="Bash" %}

```bash
# kubectl label nodes <your-node-name> <label>
```

{% endtab %}
{% endtabs %}

## Additional Information

* Only the managment planes with PMK v5.5 and the cluster upgrade from kubernetes version v1.20 to v1.21 is affected due to this issue. This issue is not observed in the versions that prior and after the affected version
* We have raised an internal JIRA to track this issue and the platform9 Engineering is currently working on it.
* Please get in touch with the platform9 Support team to track the internal JIRA for further updates on this issue.


---

# 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://platform9.com/kb/pmk/solutions/custom-labels-deleted-from-the-worker-node-post-upgrade.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.
