diff --git a/knowledge base/redis.md b/knowledge base/redis.md new file mode 100644 index 0000000..6237520 --- /dev/null +++ b/knowledge base/redis.md @@ -0,0 +1,11 @@ +# Redis + +## TL;DR + +```shell +# debug the server +redis-cli -h "${HOST}" -p "${PORT}" --user "${USERNAME}" --askpass MONITOR + +# execute the commands from the master's container on kubernetes +kubectl exec redis-0 -- redis-cli MONITOR +```