rancher redis部署
Last updated on October 12, 2024 am
🧙 Questions
使用rancher部署redis
☄️ Ideas
- Name:
infra-redis
- Docker Image:
redis:6.0.4
- Port Mapping:
- Port Name:
redis-port
- Publish the container port:
6379
- On listening port:
30101
- Port Name:
- Volumes:
Bind-mount a directory from the node
- vol1:
- Path on the Node:
/data/redis/data
- Mount Point:
/data
- Path on the Node:
- vol2:
- Path on the Node:
/data/redis/conf/redis.conf
- Mount Point:
/redis.conf
- Path on the Node:
- vol1:
配置
sudo mkdir -p /data/redis/conf/
sudo vim /data/redis/conf/redis.conf
notify-keyspace-events Ex
🔗 Links
rancher redis部署
https://ispong.isxcode.com/kubernetes/rancher/rancher redis部署/