The documentation you are viewing is for Dapr v1.4 which is an older version of Dapr. For up-to-date documentation, see the latest version.
upgrade CLI 命令参考
Upgrade or downgrade Dapr on supported hosting platforms.
Version steps should be done incrementally, including minor versions as you upgrade or downgrade.
Prior to downgrading, confirm components are backwards compatible and application code does ultilize APIs that are not supported in previous versions of Dapr.
dapr upgrade [flags]
||Upgrade/Downgrade Dapr in a Kubernetes cluster|
||The version of the Dapr runtime to upgrade/downgrade to, for example:
||在命令行上设置值 (可以用逗号指定多个或多个值: key1=val1,key2=val2)|
# Upgrade Dapr in Kubernetes to latest version dapr upgrade -k # Upgrade or downgrade to a specified version of Dapr runtime in Kubernetes dapr upgrade -k --runtime-version 1.2 # Upgrade or downgrade to a specified version of Dapr runtime in Kubernetes with value set dapr upgrade -k --runtime-version 1.2 --set global.logAsJson=true
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.