Redis
Runs the redis-cli connecting to a host and displays stats
$ kubectl run -it --rm redis-cli --restart=Never --image=redis -- redis-cli -h 10.141.135.67 --stat
Execute from an existing redis-cli pod and displays stats
$ kubectl exec -it redis-cli -- redis-cli -h 10.27.191.148 --stat
Execute from an existing redis-cli pod and displays big keys
$ kubectl exec -it redis-cli -- redis-cli -h 10.23.252.4 --bigkeys
Execute from an existing redis-cli pod and displays activities
$ kubectl exec -it redis-cli -- redis-cli -h 10.27.191.148 MONITOR
Connects to existing redis-cli pod
kubectl exec -it redis-cli -- redis-cli -h 10.27.191.148
redi-cli> LRANGE <key> 0 -1
redi-cli> LTRIM <key> 0 0