Skip to content

Latest commit

 

History

History

redis

Redis operator

Deploy

Deploy SCC (once) per cluster with cluster admin

kustomize build operator-operator-scc | oc apply -f-

Deploy operator in the configured namespace as a user with cluster admin

kustomize build operator-dev-cluster | oc apply -f-

Deploy database instances as any user

kustomize build dev-cluster | oc apply -f-

Test

There is a route defined for redis enterprise, you can login by getting these these credentials

oc get route rec-ui -o custom-columns=ROUTE:.spec.host --no-headers
oc get secret rec -o=jsonpath='{.data.username}' | base64 --decode; echo
oc get secret rec -o=jsonpath='{.data.password}' | base64 --decode; echo

To get the credentials for your redis db:

oc get secret redb-currikidb -o=jsonpath='{.data.password}' | base64 --decode; echo
oc get secret redb-currikidb -o=jsonpath='{.data.port}' | base64 --decode; echo
oc get secret redb-currikidb -o=jsonpath='{.data.service_name}' | base64 --decode; echo

Redis DB CRD