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

Allow Nomads Consul health check names to be configurable. #4003

Merged
merged 2 commits into from
Mar 20, 2018

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Mar 19, 2018

This change allows the client HTTP and the server HTTP, Serf and
RPC health check names within Consul to be configurable with the
defaults as previous. The configuration can be done via either a
config file or using CLI flags.

Once this is merged in, I will raise a ticket for documenting these
config parameters on the Nomad website.

Closes #3988

This change allows the client HTTP and the server HTTP, Serf and
RPC health check names within Consul to be configurable with the
defaults as previous. The configuration can be done via either a
config file or using CLI flags.

Closes hashicorp#3988
@jrasell jrasell changed the title Allow Nomads Consul health checks to be configurable. Allow Nomads Consul health check names to be configurable. Mar 19, 2018
@@ -120,8 +120,12 @@ func (c *Command) readConfig() *Config {
return nil
}), "consul-client-auto-join", "")
flags.StringVar(&cmdConfig.Consul.ClientServiceName, "consul-client-service-name", "", "")
flags.StringVar(&cmdConfig.Consul.ClientHTTPHealthCheckName, "consul-client-http-health-check-name", "", "")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the command line and configuration parameters use check instead of health-check to save a little repetition?

I'm fine with it either way, but since we're stuck with it ~forever once released if you want to shorten it to check please do so now. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schmichael it had crossed my mind that the flags and vars where fairly long; I will push a change to remove the health- from health-check shortly.

@schmichael
Copy link
Member

Test failures look unrelated. Merging.

Thanks again @jrasell !

@github-actions
Copy link

github-actions bot commented Mar 9, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2023
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.

None yet

2 participants