- Notifications
You must be signed in to change notification settings - Fork 77
Helm Deploy(recommend)
DoubleJ edited this page Dec 29, 2021 · 1 revision
Installs the td-redis-operator
- Kubernetes 1.16+
- Helm 3+
helm repo add td-redis-operator https://tongdun.github.io/td-redis-operator/charts/td-redis-operator helm repo updateSee helm repo for command documentation.
$ kubectl create namespace redis # If you have already created it, please skip. # Helm $ helm install --namespace=redis [RELEASE_NAME] td-redis-operator/td-redis-operator or $ helm install [RELEASE_NAME] td-redis-operator/td-redis-operator # will be installed into the default namespace# kubectl get pod NAME READY STATUS RESTARTS AGE predixy-redis-jerry-7bcdf8f474-q2rnh 1/1 Running 0 16s predixy-redis-jerry-7bcdf8f474-tc7lp 1/1 Running 0 16s redis-jerry-0-0 2/2 Running 0 31s redis-jerry-0-1 2/2 Running 0 29s redis-jerry-1-0 2/2 Running 0 31s redis-jerry-1-1 2/2 Running 0 28s redis-jerry-2-0 2/2 Running 0 31s redis-jerry-2-1 2/2 Running 0 29s redis-tom-0 2/2 Running 0 31s redis-tom-1 1/2 Running 0 8s sentinel-tom-0 1/1 Running 0 31s sentinel-tom-1 1/1 Running 0 28s sentinel-tom-2 1/1 Running 0 23s td-redis-operator-65bf6989bf-tdc6k 1/1 Running 0 32s See helm install for command documentation.
# Helm $ helm uninstall [RELEASE_NAME]This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
CRDs created by this chart are not removed by default and should be manually cleaned up:
kubectl delete crd redisclusters.cache.tongdun.net kubectl delete crd redisstandbies.cache.tongdun.net# Helm $ helm upgrade [RELEASE_NAME] td-redis-operator/td-redis-operatorWith Helm v3, CRDs created by this chart are not updated by default and should be manually updated. Consult also the Helm Documentation on CRDs.
See helm upgrade for command documentation.