Redis-stack helm chart
Contents
Redis-stack helm chart
Run Redis Stack on Docker
Docker Pull Command
|
|
Getting started with Docker
In the default configuration, Redis does not require a password to authenticate clients. To provide basic security for your Redis Stack server, it is recommended to set a password using the requirepass directive. Configure this using an environment variable when starting the container:
To start Redis Stack server using the redis-stack image, run the following command in your terminal:
|
|
You can then connect to the server using redis-cli, just as you connect to any Redis instance.
If you don’t have redis-cli installed locally, you can run it from the Docker container:
|
|
RedisInsight
The docker run command above also exposes RedisInsight on port 8001. You can use RedisInsight by pointing your browser to http://localhost:8001.
Redis Stack supports the ability to configure multiple named users, each with their own password and access control configuration. Refer to the [Redis Access Control List documentation][https://redis.io/docs/management/security/acl/] for more information.
Environment variables
To pass in arbitrary configuration changes, you can set any of these environment variables:
- REDIS_ARGS: extra arguments for Redis
- REDISEARCH_ARGS: arguments for RediSearch
- REDISJSON_ARGS: arguments for RedisJSON
- REDISGRAPH_ARGS: arguments for RedisGraph
- REDISTIMESERIES_ARGS: arguments for RedisTimeSeries
- REDISBLOOM_ARGS: arguments for RedisBloom
Quickest started
The Quickest way to starting redis-stack with Docker.
|
|
This launches the redis-stack an extension of Redis that adds all manner of modern data structures to Redis. You’ll also notice that if you open up http://localhost:8001 you’ll have access to the redis-insight GUI, a GUI you can use to visualize and work with your data in Redis.
redis/redis-stack
contains both Redis Stack server and RedisInsight. This container is best for local development because you can use RedisInsight to visualize your data.redis/redis-stack-server
provides Redis Stack but excludes RedisInsight. This container is best for production deployment.
Installation
To add the repo:
|
|
To install redis-stack helm chart with latest images, run:
|
|
To install redis-stack-server helm chart with latest images, run:
|
|
To install the helm chart with specific redis tag, just add –set tag:
|
|
For example, to run redis stack with redis version 7.0.0, run:
|
|
Usage
To connect to redis-cli run:
|
|
Copy the name of the pod (E.g. redis-stack-77d596476d-6j4d2) and run the following command:
|
|
By default redis-stack will have no password, Redis Stack supports the ability to configure multiple named users, each with their own password and access control configuration. Refer to the Redis Access Control List documentation for more information. Alternatively the configuration file can be modified and the requirepass directive added. This can also be triggered via the REDIS_ARGS environment variable. Examples are available on the docker image page
Redis OM Python
Redis OM Python makes it easy to model Redis data in your Python applications.
|
|