Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

YAML部署

house edited this page May 15, 2022 · 5 revisions
部署前划重点:
  • 最新镜像推送在tongduncloud镜像仓库,请根据需求修改部署文件中镜像地址
  • 由于用户环境不同,创建CR对象过程中,需要指定ENV,目前提供三类(demo、staging、production),主要区别在于cpu/memory request/limit以及pod亲和度,比如demo级别无资源和亲和度要求,production要求固定资源以及pod分布在不同的pod,倘如只是简单节点无法部署production环境
  • 除了yaml部署同样支持helm部署

YAML

$ 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

AltStyle によって変換されたページ (->オリジナル) /