Explore Cached Data
less than a minute
When working with the United Manufacturing Hub, you might want to visualize information about the cached data. This page shows how you can access the cache and explore the data.
Before you begin
You need to have a UMH cluster. If you do not already have a cluster, you can create one by using the Management Console.
Open a shell in the cache Pod
Open UMHLens / OpenLens and navigate to the Config > Secrets page.
Get the cache password from the Secret redis-secret.
From the Pods section click on united-manufacturing-hub-redis-master-0 to open the details page.
If you have multiple cache Pods, you can select any of them.Click the Pod Shell button to open a shell in the container.
Enter the shell:
redis-cli -a <cache-password>
Now you can execute any command. For example, to get the number of keys in the cache, run:
KEYS *
Or, to get the cache size, run:
DBSIZE
For more information about Redis commands, see the Redis documentation.