简体   繁体   English

我们如何升级作曲家环境的 Cloud Composer 版本?

[英]How can we upgrade the Cloud Composer version of our composer environment?

We have a Cloud Composer environment running a no longer current version of Cloud Composer that we would like to upgrade.我们有一个 Cloud Composer 环境,运行的 Cloud Composer 版本不再是我们想要升级的最新版本。 I found no documentation on how to do that.我没有找到有关如何执行此操作的文档。 Does anyone have recommendations on how to upgrade without creating a new environment and losing the run history?有没有人对如何在不创建新环境和丢失运行历史记录的情况下进行升级提出建议?

The only current way to update a Composer Environment is to create a new one and migrate all of the data.当前更新 Composer 环境的唯一方法是创建一个新环境并迁移所有数据。

This script should useful for recreating the Environments and maintain your DAG run history and settings: 此脚本对于重新创建环境和维护 DAG 运行历史记录和设置应该很有用:

Script to create a copy of an existing Cloud Composer Environment.用于创建现有 Cloud Composer 环境副本的脚本。 Creates a clone of a Composer Environment, copying Environment Configurations, DAGs/data/plugins/logs, and DAG run history.创建 Composer 环境的克隆,复制环境配置、DAG/数据/插件/日志和 DAG 运行历史记录。 This script can be useful when migrating to new Cloud Composer releases.在迁移到新的 Cloud Composer 版本时,此脚本非常有用。

You can now use environment upgrade您现在可以使用环境升级

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM