Warm tip: This article is reproduced from serverfault.com, please click

Creating Composer Environment in existing GKE cluster

发布于 2019-03-20 09:23:27

Is there a way to create Composer Environment in an existing GKE cluster without spawning a new cluster?

Questioner
usamec
Viewed
0
hexacyanide 2019-03-22 05:54:41

It is not possible to create a Cloud Composer environment using an existing GKE cluster. This is because the cluster is created as part of the environment provisioning process, which associates that specific cluster with the environment (and also labels resources, etc).

This association is permanent: if you accidentally delete a Composer environment's GKE cluster, you will need to recreate the entire environment. Therefore, rather than associating a Composer environment with a GKE cluster, you should probably just create a new environment and modify the GKE cluster as you deem necessary.