-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Rancher host IP address #2101
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
Rancher host IP address #2101
Conversation
|
Thanks for your contribution 👍 Could you change the base branch of this PR from Is there an already open issue about this problem? |
|
Sure thing @ldez. No. Should I make an issue for it? |
|
No need to open a new issue. It's not related to #1498 ? |
|
Oh right. I forgot about that. That's the one! :) |
|
Could you rebase your PR on the git rebase upstream/v1.4with: git remote -v
origin git@github.com:matq007/traefik.git (fetch)
origin git@github.com:matq007/traefik.git (push)
upstream git@github.com:containous/traefik.git (fetch)
upstream git@github.com:containous/traefik.git (push) |
de195e8 to
11db033
Compare
nmengin
left a comment
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.
@matq007 Many thanks for your PR.
I just have one suggestion.
provider/rancher/api.go
Outdated
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.
Can you use a const block?
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.
Sure thing, on it right now :)
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.
Could you please rebase it again to 1.4 branch?
b3ce213 to
c506e2e
Compare
|
@matq007 please do: git checkout master
git branch -D fix-rancher-host
git checkout origin fix-rancher-host |
SantoDE
left a comment
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.
Hey @matq007 ,
thanks for your contribution. Tested it on my rancher dev cluster and it's working good, so LGTM 👼
ldez
left a comment
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
nmengin
left a comment
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 👏 🐮
c506e2e to
4570eea
Compare
Description
Until now traefik was setting up
PrimaryIpAddresswhich is only set for managed network. When host network is chosen, traefik has to setup the IP address of the host machine where the container is running. As shown on the picture belowghot-1is on host network andghotis on managed network.Fixes #1498