-
Notifications
You must be signed in to change notification settings - Fork 33
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
Disable Leader detection with a '*' #233
Conversation
README.md
Outdated
@@ -215,7 +215,7 @@ marathon-protocol | `http` | Marathon protocol (http or https | |||
marathon-ssl-verify | `true` | Verify certificates when connecting via SSL | |||
marathon-timeout | `30s` | Time limit for requests made by the Marathon HTTP client. A Timeout of zero means no timeout | |||
marathon-username | | Marathon username for basic auth | |||
marathon-leader | | Marathon cluster-wide node name (defaults to <hostname>:8080), the some leader specific calls will be made only if the specified node is the current Marathon-leader") | |||
marathon-leader | `<hostname>:8080` | Marathon cluster-wide node name, the some leader specific calls will be made only if the specified node is the current Marathon-leader. Set to `*` to always act like a Leader. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part of readme is copied from config/config.go
could you update description there too? We should make it autogenerated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops ok :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand why there is no value for "default"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@guilhem Thanks! |
This is useful if you always have only 1 instance running (think of
marathon-consul
as a marathon app ;) ) and marathon address is provided by consul DNS.Do we missed something?