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

client: respect client_auto_join after connection loss #11585

Merged
merged 1 commit into from
Nov 30, 2021

Commits on Nov 29, 2021

  1. client: respect client_auto_join after connection loss

    The `consul.client_auto_join` configuration block tells the Nomad
    client whether to use Consul service discovery to find Nomad
    servers. By default it is set to `true`, but contrary to the
    documentation it was only respected during the initial client
    registration. If a client missed a heartbeat, failed a
    `Node.UpdateStatus` RPC, or if there was no Nomad leader, the client
    would fallback to Consul even if `client_auto_join` was set to
    `false`. This changeset returns early from the client's trigger for
    Consul discovery if the `client_auto_join` field is set to `false`.
    tgross committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    2df8b84 View commit details
    Browse the repository at this point in the history