3 - Upgrade

How to upgrade Memphis on K8S

Discover step-by-step instructions and best practices for safely and efficiently updating your Memphis installation to the latest version.

Step 1: Deploy the new Memphis version

Step 2: Create a second connection for the consumers

Establish an additional connection and consumer entities within each existing consumer, enabling them to consume messages from both the existing Memphis and the newly created version.

Step 3: Shift producers to the newer version

Reestablish the connections for the producers to send messages to the newly created Memphis.

Step 4: Disconnect old consumers' connections

After ensuring that all the existing messages on the older Memphis server have been processed, it is secure to disconnect the connections to the older Memphis server and finalize the migration.

1:1 replacement for >= v1.0.0

Step 0: Obtain user-supplied values.

Step 1: Obtain the credentials of your current deployment.

Step 2: Uninstall existing helm installation

Step 3: Upgrade Memphis helm repo

Step 4: Reinstall Memphis

Production

Production-grade Memphis with a minimum of three memphis brokers configured in cluster-mode. Add user-supplied values if necessary.

Dev

Standalone installation of Memphis with a single broker. Add user-supplied values if necessary.

Upgrade Memphis cluster with "helm upgrade" using a manual rolling upgrade

Step 0: Obtain user-supplied values.

Step 1: Obtain the credentials of your current deployment

Step 2: Delete the statefulset with cascade=orphan option

Step 3: Run helm upgrade with all the values you need + updateStrategy=OnDelete

Step 4: Upgrade brokers. Delete one by one and validate each one to get back to the online state.

1:1 replacement for versions < v1.0.0

Step 0: Obtain user-supplied values.

Step 1: Obtain the credentials of your current deployment.

Step 2: Uninstall existing helm installation

Step 3: Upgrade Memphis helm repo

Step 4: Reinstall Memphis

Production

Production-grade Memphis with a minimum of three memphis brokers configured in cluster-mode. Add user-supplied values if necessary.

Dev

Standalone installation of Memphis with a single broker. Add user-supplied values if necessary.

Last updated

Was this helpful?