Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

DiscoverySeeds: hard coded instances to be discovered upon startup #1036

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

shlomi-noach
Copy link
Collaborator

Introducing a new configuration variable, DiscoverySeeds, an array of instances, as follows:

  "DiscoverySeeds": [
    "host1:3306",
    "host2",
    "host3:3307"
  ],

This config allows for a hard-coded seeding of a list of hosts. This is useful for bootstrapping a new setup of orchestrator where the identity of MySQL hosts is known up front. This removes the initial need for hosts to present themselves to orchestrator and/or for automation to ask orchestrator to discover said hosts.

Seeded hosts are discovered even if instructed to be forgotten.

@shlomi-noach
Copy link
Collaborator Author

Works as expected

@shlomi-noach shlomi-noach merged commit 17485ac into master Dec 16, 2019
@shlomi-noach shlomi-noach deleted the seed-hosts branch December 16, 2019 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant