Custom API Signals
Opened this issue · 1 comments
sevensolutions commented
It would be a cool idea to allow to define some REST-API calls which can then be invoked by a signal.
Something like:
signal {
name = "SIGUSR1"
path = "/api/signals/sigusr1"
method = "GET"
headers = {
X-Api-Key = "Some API Key"
}
}
May be usefull to execute some management tasks.
The API may listen to localhost only.
sevensolutions commented
hashicorp/nomad#18794 will also introduce job actions.