Tarantool CE/EE Documentation portal logo
Support
Updated at November 27, 2026   11:08 AM

Configuring clusters

Тarantool Cluster Manager features a built-in text editor for Tarantool EE cluster configurations.

When you connect a cluster to TCM, it gains access to the cluster's centralized configuration storage: an etcd or a Tarantool cluster. TCM has both read and write access to the cluster configuration. This enables the configuration editor to work in two ways:

  • If a configuration already exists, the editor shows its current state.
  • When you change the configuration in the editor and apply changes, they are sent to the configuration storage.

To learn how to write Tarantool cluster configurations, see configuration.

Managing a cluster's configuration

The configuration editor is available on the Cluster > Configuration page.

To start managing a cluster's configuration, select this cluster in the Cluster drop-down and go to the Configuration page.

A cluster configuration in TCM can consist of one or multiple YAML files. When there are multiple files, they are all considered parts of a single cluster configuration. You can use this for structuring big cluster configurations. All files that form the configuration of a cluster are listed on the left side of the Cluster configuration page.

To add a cluster configuration file, click the plus icon (+) below the page title.

To open a configuration file in the editor, click its name in the file list.

To delete a cluster configuration file, click the Delete button beside the filename.

To download a cluster configuration file, click the Download button beside the filename.

Creating and editing a cluster from a configuration

When you add or edit a cluster, the Provider field on the Config storage connection step offers the from configuration option, alongside etcd and tarantool. It lets you create a TCM cluster based on a configuration that you specify directly in the cluster addition wizard, without connecting to a separate centralized configuration storage.

Selecting the from configuration provider when adding a cluster

To create a cluster from a configuration:

  1. Go to the Clusters page and click Add (to change the provider of an already connected cluster, click Edit in the Actions menu of the corresponding table row).
  2. Fill in the general cluster information on the General step.
  3. On the Config storage connection step, select the from configuration provider.
  4. Enter the cluster configuration in the code editor that opens and click Next.
  5. On the Tarantool connection step, specify the credentials for accessing the cluster instances: the Tarantool username, password, and SSL parameters, if traffic encryption is enabled on the cluster.

Configuration editor on the Config storage connection step

A cluster created from a configuration is always shown as successfully migrated

Creating a TbCS cluster from connection data

If you select tarantool as the configuration storage provider on the Config storage connection step, and the specified configuration storage is a TbCS cluster (a cluster with Tarantool-based storage), the Add TbCS cluster button becomes available after a successful connection check (Connection test).

To create a TbCS cluster from the specified connection data:

  1. On the Config storage connection step, select the tarantool provider and specify the connection data for TbCS.
  2. Click Connection test and wait for the connection check to succeed.
  3. Click Add TbCS cluster.

TCM connects to the specified TbCS cluster, reads its configuration, and creates the cluster immediately with the full configuration and URLs of all its instances — without the need to fill in the remaining wizard steps manually. After the cluster is created successfully, TCM redirects you to the page of the created cluster, and the cluster appears in the general list on the Clusters page.

TbCS cluster in the cluster list after creation

This option is not available for the etcd and from configuration providers.

Saving a configuration draft

TCM can store configurations drafts. If you want to leave an unfinished configuration and return to it later, save it in TCM. Saving applies to whole cluster configurations: it records the edits of all files, file additions, and file deletions.

To save a cluster configuration draft after editing, click Save in the Cluster configuration page.

A draft belongs to the user who saved it (since TCM 1.12). Only you can see your draft, and it is not sent to the cluster until you apply it. For files without your draft, the applied version is shown, that is, the one used by the cluster. Several users can store drafts of the same file at the same time.

If the file contents match the applied version, no draft is saved for it.

All unsaved changes are discarded when you leave the Cluster configuration page.

If you have a saved configuration draft, you can reset the changes for each of its files individually. A reset returns the file into the state that is currently used by a cluster (that is, saved in the configuration storage). If you reset a newly added file, it is deleted.

To reset a saved configuration file, click the Reset button beside the filename. A reset affects only your draft.

Outdated draft

A draft becomes outdated if the applied version of the file changes after you start editing it. For example:

  • Another user applies their draft of this file.
  • The configuration is changed by an action on the Stateboard page or in the TCF settings.
  • The configuration is changed outside TCM, for example, with tt or etcdctl.

A warning icon is shown beside the name of an outdated file in the file list. When you hover over the icon, an explanation and the Rebase button appear. An outdated draft cannot be applied: this way, TCM prevents you from accidentally overwriting changes you have not seen.

To continue working with an outdated draft, choose one of the options:

  • Reconcile the changes. Open the diff between the applied version and your draft and copy the required changes from the applied version to the draft. Then click Rebase, confirm the action, and click Save. The order of editing and clicking Rebase does not matter: both actions must be done before saving.
  • Keep your version. Click Rebase without editing the draft, confirm the action, and click Save. When applied, the draft fully replaces the applied version of the file, and other users' changes that are not in the draft are lost.
  • Discard the draft. Click Reset to delete the draft and start editing again from the new applied version.

If the draft matches the applied version after reconciling, it is deleted on save, and no rebase is needed.

If your saved draft has been changed in another session in the meantime (for example, in another browser tab), TCM warns you about it in the rebase confirmation dialog: on save, the draft will be replaced with your local changes.

The Rebase button is available only if you have write access to the file.

Applying a configuration

When you finish editing a configuration and it's ready to use, apply the updated configuration to the cluster. To apply a cluster configuration, click Apply on the Cluster configuration page. This sends the new configuration to the cluster configuration storage, and it comes into effect upon the cluster configuration reload.

Only your drafts are applied: other users' drafts are neither published nor deleted. If any of your drafts is outdated, applying fails with the applied config has changed since the draft was made error, and none of the drafts is applied.

Actions that change the configuration in other TCM sections, such as adding, editing, and removing instances on the Stateboard page, assigning leaders, and changing security and TCF settings, write changes directly to the applied configuration and do not apply saved drafts. If you have a draft of the same file, it becomes outdated after such an action.