-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Update docker-multinode instructions and version #18894
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
Conversation
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
1 similar comment
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
Labelling this PR as size/L |
b372ab6
to
8799c3c
Compare
@@ -39,7 +39,7 @@ interested in just starting to explore Kubernetes, we recommend that you start t | |||
|
|||
_Note_: | |||
There is a [bug](https://github.com/docker/docker/issues/14106) in Docker 1.7.0 that prevents this from working correctly. |
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.
May as well just delete this and say: "expects Docker 1.8.x or higher..."
Some minor stuff, otherwise LGTM. |
8799c3c
to
d09aff5
Compare
Ping @brendandburns |
1. You need a machine with docker of right version installed. | ||
The only thing you need is a machine with **Docker 1.8.x or higher** | ||
|
||
It might work with older docker versions, but that isn't supported. |
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'm sorry but is this strictly required? I'm still working on docker 1.7.1 and it fits me well.
Maybe it's worth keeping the issue thing and also say something like "we prefer..., but..." :-)
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.
@dalanlan Quite funny, I just edited it on request by @brendandburns
I think we should encourage users to use k8s with latest stable docker if possible.
Not everyone will use docker 1.8.x and higher, and as you say, 1.7.1 works well, so therefore I added that it might work with older versions
But I don't know how Kubernetes Docker policy is set up, if docker 1.7.1 is supported by k8s 1.1.x
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.
AFAIU the bug referenced here affects users only if they run docker daemon differently. We don't do this in our guide. I'd either just delete this requirement at all, or move it to a separate section Troubleshooting
. WDYT?
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.
We do use docker daemon
differently. The issue is about combining docker -d --bridge=none
and docker run --net=host
.
We do this for etcd
and flannel
, where they have --net=host
and docker-bootstrap
has --bridge=none
.
I don't really know what to do to make everyone happy.
I assume @brendandburns wants docker >= 1.8.x because he said it, but should I make it like this?
It should work with older docker versions (like 1.7.1), but that isn't fully supported.
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.
Good point :) Why not require version 1.7.1+?
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.
@brendandburns Which version do you want to support?
Is the updated text 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.
Kubernetes itself doesn't require docker 1.8. If we know that this particular setup will not work with 1.7.0, then believe we should just write "1.7.1+".
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.
Works fine for me
d09aff5
to
f75ca8e
Compare
f75ca8e
to
4cf4b9b
Compare
@brendandburns @fgrzadkowski @dalanlan Updated. |
Ping @brendandburns @fgrzadkowski |
@@ -74,10 +70,13 @@ This pattern is necessary because the `flannel` daemon is responsible for settin | |||
all of the Docker containers created by Kubernetes. To achieve this, it must run outside of the _main_ Docker daemon. However, | |||
it is still useful to use containers for deployment and management, so we create a simpler _bootstrap_ daemon to achieve this. | |||
|
|||
You can specify k8s version on very node before install: | |||
You can specify the version on very node before install: |
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.
s/very/every/
Basically LGTM, one little nit. |
4cf4b9b
to
25dfd26
Compare
Fixed |
LGTM, you need to run thanks |
GCE e2e test build/test passed for commit 25dfd267bb2ed45ea6e5a5ed56e93999ec9e38d4. |
@brendandburns @fgrzadkowski @wojtek-t @k8s-bot Unit test this please |
@luxas please run |
… in a pod in the docker-multnode manifest
25dfd26
to
7d49744
Compare
PR changed after LGTM, removing LGTM. |
@gmarek @brendandburns I ran |
Let's wait for tests. |
GCE e2e test build/test passed for commit 7d49744. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
Update
docker-multinode
in the same manner asdocker
has been updated by @fgrzadkowskiAlso run
kube-proxy
in a static pod on master and some formatting.Related to #17981.
Partially depends on: #17213 (for
serviceAccount
functionality)After this has been merged, we can go forward with supporting ARM images OOTB.
Assign to: @brendandburns
@dalanlan @fgrzadkowski @resouer