Skip to main content
Version: 5.17

Upgrade a Hazelcast deployment

Before upgrading, you should read the information in the rolling upgrade documentation for Hazelcast Platform.

Each Operator version has been tested with a specific Hazelcast Platform version as listed in the following table. You should use the appropriate version to avoid problems.

Operator versionHazelcast Platform version
5.115.4.0
5.125.4.0
5.135.5.0
5.145.5.2
5.155.5.4
5.165.6.0

Upgrade the deployment​

To upgrade your existing Hazelcast deployment to a newer version, update the spec.version field and re-apply.

For example, if the following is the existing configuration:

yaml
apiVersion: hazelcast.com/v1alpha1
kind: Hazelcast
metadata:
name: hazelcast-sample
spec:
clusterSize: 3
repository: 'docker.io/hazelcast/hazelcast-enterprise'
version: '5.7.0-slim'

Apply the following to upgrade your Hazelcast version to 5.7.0:

yaml
apiVersion: hazelcast.com/v1alpha1
kind: Hazelcast
metadata:
name: hazelcast-sample
spec:
clusterSize: 3
repository: 'docker.io/hazelcast/hazelcast-enterprise'
version: '5.7.0-slim'

Check the cluster status​

You can check that the upgrade has completed by checking the cluster status:

shell
kubectl get hazelcast
NAME STATUS MEMBERS
hazelcast-sample Running 3/3