mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 20:06:03 +02:00
feat(docs) Add Redis FLUSHALL doc on how and when to execute commands (#3192)
* feat(docs) Add Redis FLUSHALL doc on how and when to execute commands * fix(docs) Move flushall command to troubleshooting section * copy edits * crosslink Co-authored-by: alexfornuto <afornuto@pomerium.com>
This commit is contained in:
parent
2dc778035d
commit
b83bb8f2f7
2 changed files with 12 additions and 0 deletions
|
@ -81,3 +81,7 @@ databroker_storage_ca_file: /tls/ca.pem
|
|||
::: tip
|
||||
the second `s` in `rediss` is intentional and turns on TLS support
|
||||
:::
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Most issues with the Databroker service are caused by a [`shared_secret`](/reference/readme.md#shared-secret) mismatch between services. See [Troubleshooting - Shared Secret Mismatch](/docs/troubleshooting.md#shared-secret-mismatch) for details.
|
|
@ -159,6 +159,14 @@ When using Redis, the [shared secret](/reference/readme.md#shared-secret) is use
|
|||
|
||||
The resolution is to flush the Redis database with [`FLUSHDB`](https://redis.io/commands/flushdb) or [`FLUSHALL`](https://redis.io/commands/FLUSHALL).
|
||||
|
||||
An example of how to do this on Kubernetes with TLS enabled is to use `kubectl` to execute a command on the master pod:
|
||||
|
||||
```bash
|
||||
kubectl exec -it pomerium-redis-master-0 -- redis-cli --tls --cert /opt/bitnami/redis/certs/tls.crt --key /opt/bitnami/redis/certs/tls.key --cacert /opt/bitnami/redis/certs/ca.crt FLUSHALL ASYNC
|
||||
```
|
||||
|
||||
Adjust `pomerium-redis-master-0` to match your pod name. If TLS is not enabled, you may omit the TLS options.
|
||||
|
||||
### RPC Errors
|
||||
|
||||
#### certificate signed by unknown authority
|
||||
|
|
Loading…
Add table
Reference in a new issue