# Upgrade Redis Enterprise for Kubernetes

```json metadata
{
  "schema_version": 2,
  "title": "Upgrade Redis Enterprise for Kubernetes",
  "description": "Information about upgrading your Redis Enterprise cluster on Kubernetes.",
  "categories": ["docs","operate","kubernetes"],
  "tableOfContents": {"sections":[{"id":"upgrade-compatibility","title":"Upgrade compatibility"},{"id":"rhel9-based-image","title":"RHEL9-based image"}]}

,
  "codeExamples": []
}
```


The upgrade process includes updating three components:

  1. Upgrade the Redis Enterprise operator
  2. Upgrade the Redis Enterprise cluster (REC)
  3. Upgrade Redis Enterprise databases (REDB)

If you are using OpenShift, see [Upgrade Redis Enterprise with OpenShift CLI](https://redis.io/docs/latest/operate/kubernetes/upgrade/openshift-cli) or [Upgrade Redis Enterprise with OpenShift OperatorHub](https://redis.io/docs/latest/operate/kubernetes/upgrade/upgrade-olm).

For all other Kubernetes distributions, see [Upgrade Redis Enterprise for Kubernetes](https://redis.io/docs/latest/operate/kubernetes/upgrade/upgrade-redis-cluster).

## Upgrade compatibility

When upgrading, both your Kubernetes version and Redis operator version need to be supported at all times.

> [!WARNING]
> If your current Kubernetes distribution is not [supported](https://redis.io/docs/latest/operate/kubernetes/reference/supported_k8s_distributions), upgrade to a supported distribution before upgrading. 

## RHEL9-based image

As of version 7.8.2-6, Redis Enterprise images are based on Red Hat Enterprise Linux 9 (RHEL9). This means upgrades require:

- [Cluster version of 7.4.2-2 or later](https://redis.io/docs/latest/operate/kubernetes/7.4.6/upgrade/).
- Database version 7.2 or later.
- RHEL9 compatible binaries for any modules you need.

For detailed steps, see the relevant upgrade page:

- [OpenShift CLI](https://redis.io/docs/latest/operate/kubernetes/upgrade/openshift-cli)
- [OpenShift OperatorHub](https://redis.io/docs/latest/operate/kubernetes/upgrade/upgrade-olm)
- [Kubernetes](https://redis.io/docs/latest/operate/kubernetes/upgrade/upgrade-redis-cluster)

