blob: 3f50ebd01da06f9c37824cd49a6f97a722b0f8f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Python Discord Redis
This folder contains the configuration for Python Discord's Redis instance.
## Volume
A 10Gi volume is provisioned on the Linode Block Storage (Retain) storage class.
## Deployment
The deployment will pull the `redis:latest` image from DockerHub.
It will mount the created volume at `/data`.
It will expose port `6379` to connect to Redis.
## Service
A service called `redis` will be created to give the deployment a cluster local DNS record of `redis.databases.svc.cluster.local`.
## Secrets
Redis requires a `redis-credentials` secret with the following entries:
| Environment | Description |
|----------------|---------------------------------------|
| REDIS_HOST | The host redis is running on |
| REDIS_PASSWORD | The password to connect to redis with |
| REDIS_PORT | The port redis is listening on |
|