-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to import current cluster to temporal operator ? #562
Comments
Hi! I never did that but it could be doable. Let's try this! What I could suggest to you: Create a new Then try to make services managed by the operator to join your existing cluster. To do that, create a new persistence:
defaultStore:
created: true
schemaVersion: 1.21.2
setup: true
type: postgres
visibilityStore:
created: true
schemaVersion: 1.21.2
setup: true
type: postgres (update it with the right values). If the services deployed by the operator have successfully joined the current existing cluster you'll be able to uninstall the helm chart. I have no clue if it could work, let's try this :) |
Interesting. We have the similar requirement too. Could you elaborate a bit on the terms and steps?
One known issue during our previous attempt to take ownership of existing database is the conflict on cluster meta info which seems to be a checksum and hard to reverse engineering to the source. The workaround was deleting it and let temporal regenerate it from the configmap created by operator. |
Hi @mfractal @alexandrevilain
But in our production cluster's clusterMetadata config , the Cluster Name is "active" , the value of Helm chart default : )
Looks like it's impossible to make those two config fits. Since the clusterMetadata config is auto generated by operator and can't config now. Unless we set our cluster name to "active". In our solution, there will be a downtime.But it works.
It will take over the running and closed workflow executions. If you got panic: Cluster info initial versions have duplicates with the new deployment. The reason is below image. You can bypass it by deleting the old clusterMetadata which is stored in the table cluster_metadata_info of default DB. |
Hi! |
we have a production cluster deployed via helm chart, i'd like to migrate to use the operator without any downtime if possible. what would be the best path to do it ?
The text was updated successfully, but these errors were encountered: