redis-cli -h host -p port --bigkeys 将显示一个大键列表,这是非常方便的。 但在我的环境中,我被限制在交互模式下。在我可以输入任何命令之前,它已经通过交互模式连接到redis了。像这样: redis-cli -h host -p port
> x.x.x.x@port connected!> i can start typing here 有没有办法在交互模式中使用--
开启redis服务器鉴权后,每次请求重定向到不同的插槽时,redis-cli都会返回(error) NOAUTH Authentication required.错误。Redirected to slot [1712] located at 127.0.0.1:7000127.0.0.1:7000> 对如何纠正这种行为有什么建议吗
我想启动一个容器,并在里面直接交互地运行redis-cli。由于某些原因,在我的尝试中,输入总是被忽略。启动交互式shell,然后手动启动程序:$ kubectl run redis-cli --image redis:latest --attach --leave-stdin-open# now the redis-cli shell is open:如何将其组合到一个命令中,以便直接进