Open dhiaayachi opened 2 months ago
Thanks for the feature request! We appreciate you taking the time to suggest this enhancement.
Currently, the temporal operator namespace update
command only accepts a single cluster name at a time. You can achieve your desired functionality by creating a new namespace that contains the desired clusters and then migrating your current workflows to the new namespace.
You can find more information about namespaces and multi-cluster replication in the Temporal documentation:
Thanks for the feature request!
Currently, the temporal operator namespace update
command only allows for setting a single cluster.
You can work around this limitation by creating a new namespace with the desired cluster configuration using the temporal operator namespace create
command. You can then migrate your existing workflows to the new namespace.
Here is an example:
# Create a new namespace with the desired cluster configuration
temporal operator namespace create --namespace newNamespace --clusters clusterA clusterB
# Migrate existing workflows to the new namespace
# ...
We appreciate your feedback and will consider adding support for multiple clusters in the temporal operator namespace update
command in the future.
Thanks for your feature request!
The Temporal CLI operator namespace update
command currently only supports updating a single cluster at a time. To work around this limitation, you can update your namespace with a single cluster using the temporal operator namespace update
command, and then repeat this process for each cluster.
For example, to update namespace myNamespace
to contain clusters clusterA
and clusterB
, you would first run:
temporal operator namespace update --cluster clusterA "myNamespace"
and then run:
temporal operator namespace update --cluster clusterB "myNamespace"
This will achieve the desired result, although it requires two commands instead of one.
Is your feature request related to a problem? Please describe. I have not found a command replacing this behaviour in the new cli, where you update a namespace to contain multiple clusters:
tctl --namespace "myNamespace" namespace update --clusters clusterA clusterB
for context: https://community.temporal.io/t/running-into-problems-testing-multi-cluster-replication-locally-via-docker/5920/8
it is marked as the solution in thread above.
Describe the solution you'd like
temporal operator namespace update --cluster 'clusterA clusterB' "myNamespace"
Have the cluster accept a list of clusters and not only a single one.Describe alternatives you've considered
Use the old tctl, but at some point it will be deprecated.
I cannot create it from scratch since we already have namespaces in use.