helm install redis-cluster bitnami/redis-cluster -n redis-cluster
NAME: redis-cluster
LAST DEPLOYED: Wed Mar 23 01:55:13 2022
NAMESPACE: jenkins
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: redis-cluster
CHART VERSION: 7.4.1
APP VERSION: 6.2.6** Please be patient while the chart is being deployed **
To get your password run:
export REDIS_PASSWORD=$(kubectl get secret --namespace "jenkins" redis-cluster -o jsonpath="{.data.redis-password}" | base64 --decode)
You have deployed a Redis™ Cluster accessible only from within you Kubernetes Cluster.INFO: The Job to create the cluster will be created.To connect to your Redis™ cluster:
1. Run a Redis™ pod that you can use as a client:
kubectl run --namespace jenkins redis-cluster-client --rm --tty -i --restart='Never' \
--env REDIS_PASSWORD=$REDIS_PASSWORD \
--image docker.io/bitnami/redis-cluster:6.2.6-debian-10-r158 -- bash
2. Connect using the Redis™ CLI:
redis-cli -c -h redis-cluster -a $REDIS_PASSWORD