The previous command should have printed a really long hash, copy this hash.
The previous command should have printed a really long hash, copy this hash.
...
@@ -122,20 +126,20 @@ systemctl start docker
...
@@ -122,20 +126,20 @@ systemctl start docker
Ok, now that your networking is set up, you can startup Kubernetes, this is the same as the single-node case, we will use the "main" instance of the Docker daemon for the Kubernetes components.
Ok, now that your networking is set up, you can startup Kubernetes, this is the same as the single-node case, we will use the "main" instance of the Docker daemon for the Kubernetes components.
@@ -14,6 +14,8 @@ certainly want the docs that go with that version.</h1>
...
@@ -14,6 +14,8 @@ certainly want the docs that go with that version.</h1>
<!-- END MUNGE: UNVERSIONED_WARNING -->
<!-- END MUNGE: UNVERSIONED_WARNING -->
## Adding a Kubernetes worker node via Docker.
## Adding a Kubernetes worker node via Docker.
These instructions are very similar to the master set-up above, but they are duplicated for clarity.
These instructions are very similar to the master set-up above, but they are duplicated for clarity.
You need to repeat these instructions for each node you want to join the cluster.
You need to repeat these instructions for each node you want to join the cluster.
We will assume that the IP address of this node is ```${NODE_IP}``` and you have the IP address of the master in ```${MASTER_IP}``` that you created in the [master instructions](master.md).
We will assume that the IP address of this node is ```${NODE_IP}``` and you have the IP address of the master in ```${MASTER_IP}``` that you created in the [master instructions](master.md).
...
@@ -26,6 +28,11 @@ For each worker node, there are three steps:
...
@@ -26,6 +28,11 @@ For each worker node, there are three steps:
### Set up Flanneld on the worker node
### Set up Flanneld on the worker node
As before, the Flannel daemon is going to provide network connectivity.
As before, the Flannel daemon is going to provide network connectivity.
_Note_:
There is a [bug](https://github.com/docker/docker/issues/14106) in Docker 1.7.0 that prevents this from working correctly.
Please install Docker 1.6.2 or wait for Docker 1.7.1.
#### Set up a bootstrap docker
#### Set up a bootstrap docker
As previously, we need a second instance of the Docker daemon running to bootstrap the flannel networking.
As previously, we need a second instance of the Docker daemon running to bootstrap the flannel networking.
...
@@ -59,7 +66,7 @@ or it may be something else.
...
@@ -59,7 +66,7 @@ or it may be something else.
Now run flanneld itself, this call is slightly different from the above, since we point it at the etcd instance on the master.
Now run flanneld itself, this call is slightly different from the above, since we point it at the etcd instance on the master.