Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

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

Merged
shlomi-noach merged 1 commit intomasterfrom
seed-hosts
Dec 16, 2019
Merged

DiscoverySeeds: hard coded instances to be discovered upon startup#1036
shlomi-noach merged 1 commit intomasterfrom
seed-hosts

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