-
Notifications
You must be signed in to change notification settings - Fork 175
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 more than one backend-url to be specified in sensuctl #1907
Comments
FYI, I made a quick PoC to figure out how we could achieve that. First, we'll need to refactor the sensu-go/cli/client/config/basic/basic.go Lines 32 to 36 in 2a7f0d7
Then, we just need to play with Resty to add retries (https://github.com/go-resty/resty#retries). It would look something like this in the New function:
|
Closing due to inactivity (this issue was created pre-GA), plus it looks like this has been resolved & documented. It is now possible to set multiple backend URLs by setting the See: https://docs.sensu.io/sensu-go/latest/reference/agent/#configuration |
Oops, I misread this as "sensu-agent". This is RE: sensuctl which may still be a valid issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
With a new major version we can remove the |
Allow more than one backend-url to be specified in sensuctl for fail-over purposes.
Expected Behavior
A user should be able to specify more than one backend and have sensuctl pick one (either sequentially or at random). If sensuctl cannot communicate with the chosen backend, attempt to talk to a different backend.
Current Behavior
Only one backend-url can be specified.
The text was updated successfully, but these errors were encountered: