Skip to content

Instantly share code, notes, and snippets.

@bnayae
Created December 30, 2021 10:14
Show Gist options
  • Save bnayae/80b2f6cf8b6e0afe5210a18bcb870564 to your computer and use it in GitHub Desktop.
Save bnayae/80b2f6cf8b6e0afe5210a18bcb870564 to your computer and use it in GitHub Desktop.
Deploy REDIS OSS with JSON + Search module into your K8s cluster
helm upgrade NAME_OF_DEPLOYMENT bitnami/redis \
-i --wait --timeout 600s \
-n NAMESPACE \
--set metrics.enabled=true \
--set metrics.serviceMonitor.enabled=true \
--set metrics.serviceMonitor.namespace=monitoring \
--set usePassword={true/false} \
--set architecture=replication \
--set auth.enabled={true/false} \
--set image.repository=redislabs/rejson \
--set image.tag=2.0.6 \
--set master.extraFlags='{--loadmodule,/usr/lib/redis/modules/redisearch.so,--loadmodule,/usr/lib/redis/modules/rejson.so}' \
--set replica.extraFlags='{--loadmodule,/usr/lib/redis/modules/redisearch.so,--loadmodule,/usr/lib/redis/modules/rejson.so}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment