Skip to content

Is it possible to have multiple clusters without duplicating cluster.yaml? #2387

Closed
@sevro

Description

@sevro

I am trying to setup a development, staging, production CI/CD pipeline for cortex services and if I try to spin up multiple clusters with the same cluster.yaml even in different environments I get:

error: a cluster named "$MY_CLUSTER" already created and updated in $MY_REGION

I see that this was at least considered before in "Consider how to merge CLI environment config with cluster config for multiple clusters #712" but I do not see it reflected as resolved in the docs which still has an example of multiple clusters using different cluster.yaml files. It will definitely be unnecessarily confusing to have cluster-dev.yaml, cluster-staging.yaml, and cluster-prod.yaml on all three branches all out of sync with eachother any of which could be accidentally deployed/updated breaking things.

Or was this resolved and it is just not reflected in the docs? Or am I missing some other better way to set this up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions