在k8s环境中运行redis服务
root@k8s-master1:/opt/k8s-data/dockerfile/web/raymond/redis# tree
.
├── Dockerfile
├── build-command.sh
├── redis-4.0.14.tar.gz
├── redis.conf
└── run_redis.sh
0 directories, 5 files
#redis配置文件
root@k8s-master1:/opt/k8s-data/dockerfile/web/raymond/redis# cat redis.conf
# Redis configuration file example.
#
# Note that in order to read the configuration file, Redis must be
# started with