Upgrade to Redis version 7.x For EF-CX
Requirements:-
This upgrade guide is valid for only the CX 4.6 Release, which is already enabled with AUTH and TLS capabilities. Previous releases are not compatible with upgrades.
Delete the Old Redis Secrets:-
Run the following commands to delete the old TLS certificate of Redis from both the expertflow
and ef-external
namespaces:-
kubectl delete secret -n ef-external redis-crt
kubectl delete secret -n expertflow redis-crt
Upgrade the Redis to Version 7.x:-
Clone the values file to update the parameter values
helm show values expertflow/redis > helm-values/ef-redis-custom-values.yaml
Update the following values helm-values/ef-redis-custom-values.yaml
as mentioned below:-
auth:
password: "Expertflow123" # Change this to match the requirements
Upgrade Redis to version 7 by running the following command:-
helm upgrade --install=true --namespace=ef-external --values=helm-values/ef-redis-custom-values.yaml redis expertflow/redis
Copy TLS Cert to Expertflow
Namespace:-
run the following command to copy Redis TLS Certificate to Expertflow
namespace by running the following command:-
kubectl get secret redis-crt -n ef-external -o yaml | sed 's/namespace: ef-external/namespace: expertflow/' | kubectl create -f -
Restart the Deployments:-
Restart all the deployments using Redis.
kubectl -n expertflow rollout restart deploy
Perform this rollout restart for all the deployments using Redis to reconnect.