# Prometheus Addon Is Not Getting Upgraded During The K8s Upgrade.

## Problem

During the K8s upgrade/patch upgrade the Prometheus Addon Is Not Getting Upgraded. All the other addons are getting new higher versions.

## Environment

* Platform9 Managed Kubernetes - v5.4.0 and Higher.

## Cause

The users could have customized monitoring addon, so selective upgrading of different components is also not possible.

For example, if we only upgrade Grafana deployment, we might end up removing customizations like additional dashboards if they have been configured.

## Resolution

The simplest way to upgrade, would be to delete and reinstall the addon from the Platform9 Management UI >> Clusters >> Choose the cluster >> Addons >> Disable Prometheus Monitoring addons >> **Wait for atleast 90 seconds** to complete the removal process in the backend >> Enable Prometheus Monitoring Addon.

{% hint style="info" %}
**Info**

The reinstall will happen with the new version. But if there are **any customizations** made to the stack, they will be **lost**.
{% endhint %}


---

# 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/prometheus-addon-is-not-getting-upgraded-during-the-k8s-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.
