-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Small fixes #1291
Small fixes #1291
Conversation
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.
One question, but otherwise LGTM. 👍
configuration.go
Outdated
@@ -392,6 +392,9 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration { | |||
defaultMesos.Endpoint = "http://127.0.0.1:5050" | |||
defaultMesos.ExposedByDefault = true | |||
defaultMesos.Constraints = types.Constraints{} | |||
defaultMesos.RefreshSeconds = 10 | |||
defaultMesos.ZkDetectionTimeout = 30 | |||
defaultMesos.StateTimeoutSecond = 30 |
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.
Do we need to document the defaults somewhere?
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.
Well done, added in traefik.sample.toml
and doc/toml.md
. Fixed a typo in the doc BTW ;)
f2a8007
to
4ea0eb0
Compare
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.
LGTM.
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.
LGTM 🐯
provider/kubernetes.go
Outdated
@@ -30,12 +30,8 @@ type Kubernetes struct { | |||
} | |||
|
|||
func (provider *Kubernetes) newK8sClient() (k8s.Client, error) { |
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.
nit: This method doesn't have a reason to live anymore I think 😛
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.
Indeed ^^
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
Fixes #1248
Small refactor of k8s client config which now support external cluster client.