Skip to content
Posted on:April 17, 2021 at 01:00 AM

Redis in kubernetes

Redis in kubernetes

Redis

how to use

sudo apt install redis-tools
redis-cli -h 10.0.0.156
auth_string: MzRkZDlmYTItZjYxYS00ZTA2LTgzMmUtNTFiZDkwZWY4NDEy
➜  ~ k get configmap -n resilience-api redis -o yaml
apiVersion: v1
data:
  address: 10.59.242.156:6379
kind: ConfigMap
➜  ~ k get secrets -n resilience-api redis-auth -o yaml
apiVersion: v1
data:
  auth_string: MzRkZDlmYTItZjYxYS00ZTA2LTgzMmUtNTFiZDkwZWY4NDEy
kind: Secret
info
ping
keys *