Added redis notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-04-17 23:28:06 +02:00
parent b8f5876c43
commit 0498c5b71c

11
knowledge base/redis.md Normal file
View File

@@ -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
```