Deploy/Upgrade Memphis utilizing predefined secrets
Memphis allows users to utilize predefined Kubernetes secrets containing credentials that remain unchanged during upgrades or other operations. Several variables must be stored in the Kubernetes secret and created before the initial deployment.
Step 1: Create a new secret file for Memphis related credentials:
Memphis advises creating randomly generated credentials with the following restrictions:
JWT_SECRET - comprising a minimum of 128 characters.
ENCRYPTION_SECRET_KEY - comprising of exactly 32 characters.
ROOT_PASSWORD - comprising a maximum of 72 characters.
Step 2: Create an additional secret file for Memphis-metadata:
Step 3: Deploy Memphis using previously created secrets
Upgrade with pre-defined secret files
Step 0: Obtain user-supplied values.
Step 1: Delete the statefulset with cascade=orphan option
Step 2: Run helm upgrade with all the values you need + updateStrategy=OnDelete
Step 4: Upgrade brokers. Delete one by one and validate each to return to the online state.
Last updated