Skip to content
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

config: support {{ replicaset_name }} and {{ group_name }} #3835

Closed
TarantoolBot opened this issue Nov 3, 2023 · 1 comment · Fixed by #3825
Closed

config: support {{ replicaset_name }} and {{ group_name }} #3835

TarantoolBot opened this issue Nov 3, 2023 · 1 comment · Fixed by #3825
Assignees

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Nov 3, 2023

The declarative configuration supports {{ instance_name }} template
variable from the beginning.

Now, two more ones were added: {{ replicaset_name }} and
{{ group_name }}.

All the template variables are set according to the
instance/replicaset/group topology from the given configuration.

Example:

console:
  socket: '{{ group_name }}/{{ replicaset_name }}/{{ instance_name }}.admin'

groups:
  g:
    replicasets:
      r:
        instances:
          i: {}

The admin console will be at g/r/i.admin for instance i.

Requested by @Totktonada in tarantool/tarantool@f059973.

@andreyaksenov andreyaksenov self-assigned this Nov 3, 2023
@andreyaksenov andreyaksenov linked a pull request Nov 3, 2023 that will close this issue
@andreyaksenov
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants