名称
gdcloud 组织升级发布 - 触发指定组织的升级到新版本。
摘要
gdcloud organizations upgrade rollout --version=VERSION --names=ORG_NAME1,ORG_NAME2,... --zone=ZONE_NAME [flags]
示例
To upgrade the infra organization "root" to version "1.14.3-gdch.1000-1", run:
gdcloud organization upgrade rollout --version=1.14.3-gdch.1000-1 --names=root
To upgrade an organizations "org-1" and "org-2" to version "1.14.3-gdch.1000-1", run:
gdcloud organization upgrade rollout --version=1.14.3-gdch.1000-1 --names=org-1,org-2,... --zone=zone1
To upgrade all eligible organizations in zone1 to version "1.14.3-gdch.1000-1", run:
gdcloud organization upgrade rollout --version=1.14.3-gdch.1000-1 --all --zone=zone1
Root organization must be at the new version or greater, before a version is available to any other organizations in a zone.
可选标志
-a, --all Upgrade all organizations in the given zone.
--direct Rollout OC changes to the specified organization(s) directly.
--distribute-artifacts Distribute artifacts to a tenant org before rolling out to the org directly.
--ignore-maintenance-window Ignore maintenance window for tenant organization upgrade.
-n, --names strings Comma-separated list of organizations to trigger upgrade for.
--skip-checks Skip preflight and postflight checks for organization upgrade.
--version string Version to upgrade to.
-z, --zone string Zone to rollout upgrade for.
GDCLOUD 全局标志
以下标志适用于所有命令:--configuration
、--format
、--help
、--project
、--quiet
。
如需了解详情,请参阅 gdcloud CLI 参考概览页面。