Skip to content

Install td redis operator via YAML

house edited this page Dec 15, 2022 · 5 revisions

Precautions before deployment:

  • The latest image is pushed in image warehouse of tongduncloud, please modify the mirror address in the deployment file according to your needs.
  • Due to different user environments, you need to specify ENV in the process of creating CR objects. Currently, three types (demo, staging, production) are provided. The main difference lies in cpu/memory request/limit and pod affinity. For example, the demo level has no resources and affinity High degree of requirements, production requires fixed resources and pods distributed in different pods, if only simple nodes can not be deployed in the production environment.
  • In addition to yaml deployment, helm deployment is also supported.

YAML deployment command:

$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/deploy/deploy.yaml
$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/cr/redis_cluster.yaml
$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/cr/redis_standby.yaml

Clone this wiki locally