首页
学习
活动
专区
圈层
工具
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

Dapr v1.15.5 升级指南

1. 在线方式安装 CRDs

使用如下命令直接从官方仓库安装 CRDs:

kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/v1.15.5/charts/dapr/crds/components.yaml

kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/v1.15.5/charts/dapr/crds/configuration.yaml

kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/v1.15.5/charts/dapr/crds/subscription.yaml

kubectl apply -f https://raw.githubusercontent.com/dapr/dapr/v1.15.5/charts/dapr/crds/resiliency.yaml

kubectl apply -f https://raw.githubusercontent.com/dapr/dapr/v1.15.5/charts/dapr/crds/httpendpoints.yaml

2. 离线方式安装 CRDs

如无法访问外网,可先下载 CRD 文件到本地,再执行:

kubectl replace -f ./components.yaml

kubectl replace -f ./configuration.yaml

kubectl replace -f ./subscription.yaml

kubectl apply -f ./resiliency.yaml

kubectl apply -f ./httpendpoints.yaml

下载地址:https://pan.quark.cn/s/8cb2c31d8a99

3. 添加 Dapr Helm 仓库(如有需要)

注意:

如果 repo 不存在,请先添加 Dapr Helm 仓库:

helm repo add dapr https://dapr.github.io/helm-charts/

然后更新仓库:

helm repo update

4. 升级 Dapr

标准升级命令如下:

helm upgrade dapr dapr/dapr --version 1.15.5 --namespace dapr-system --wait

如需自定义参数,请参考如下命令:

helm upgrade dapr dapr/dapr \

--version 1.15.5 \

--namespace dapr-system \

--set global.ha.enabled=true \

--set global.registry=docker.io/daprio \

--wait \

--debug \

--set dapr_scheduler.cluster.storageSize=16Gi \

--set dapr_scheduler.etcdSpaceQuota=16Gi

5. 参数说明

  • 发表于:
  • 原文链接https://page.om.qq.com/page/OTeluEyIeGJVC9DT7UVDO5Ew0
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券