Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
595381d4
Commit
595381d4
authored
Sep 24, 2015
by
Filip Grzadkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade flannel to 0.5.3
parent
4d44ab57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
master.md
docs/getting-started-guides/docker-multinode/master.md
+1
-1
master.sh
docs/getting-started-guides/docker-multinode/master.sh
+1
-1
worker.md
docs/getting-started-guides/docker-multinode/worker.md
+1
-1
worker.sh
docs/getting-started-guides/docker-multinode/worker.sh
+1
-1
No files found.
docs/getting-started-guides/docker-multinode/master.md
View file @
595381d4
...
...
@@ -107,7 +107,7 @@ or it may be something else.
Now run flanneld itself:
```
sh
sudo
docker
-H
unix:///var/run/docker-bootstrap.sock run
-d
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
0
sudo
docker
-H
unix:///var/run/docker-bootstrap.sock run
-d
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
3
```
The previous command should have printed a really long hash, copy this hash.
...
...
docs/getting-started-guides/docker-multinode/master.sh
View file @
595381d4
...
...
@@ -97,7 +97,7 @@ start_k8s(){
docker
-H
unix:///var/run/docker-bootstrap.sock run
--net
=
host gcr.io/google_containers/etcd:2.0.12 etcdctl
set
/coreos.com/network/config
'{ "Network": "10.1.0.0/16", "Backend": {"Type": "vxlan"}}'
# iface may change to a private network interface, eth0 is for default
flannelCID
=
$(
docker
-H
unix:///var/run/docker-bootstrap.sock run
--restart
=
always
-d
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
0
/opt/bin/flanneld
-iface
=
"eth0"
)
flannelCID
=
$(
docker
-H
unix:///var/run/docker-bootstrap.sock run
--restart
=
always
-d
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
3
/opt/bin/flanneld
-iface
=
"eth0"
)
sleep
8
...
...
docs/getting-started-guides/docker-multinode/worker.md
View file @
595381d4
...
...
@@ -90,7 +90,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.
```
sh
sudo
docker
-H
unix:///var/run/docker-bootstrap.sock run
-d
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
0
/opt/bin/flanneld
--etcd-endpoints
=
http://
${
MASTER_IP
}
:4001
sudo
docker
-H
unix:///var/run/docker-bootstrap.sock run
-d
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
3
/opt/bin/flanneld
--etcd-endpoints
=
http://
${
MASTER_IP
}
:4001
```
The previous command should have printed a really long hash, copy this hash.
...
...
docs/getting-started-guides/docker-multinode/worker.sh
View file @
595381d4
...
...
@@ -99,7 +99,7 @@ DOCKER_CONF=""
# Start k8s components in containers
start_k8s
()
{
# Start flannel
flannelCID
=
$(
sudo
docker
-H
unix:///var/run/docker-bootstrap.sock run
-d
--restart
=
always
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
0
/opt/bin/flanneld
--etcd-endpoints
=
http://
${
MASTER_IP
}
:4001
-iface
=
"eth0"
)
flannelCID
=
$(
sudo
docker
-H
unix:///var/run/docker-bootstrap.sock run
-d
--restart
=
always
--net
=
host
--privileged
-v
/dev/net:/dev/net quay.io/coreos/flannel:0.5.
3
/opt/bin/flanneld
--etcd-endpoints
=
http://
${
MASTER_IP
}
:4001
-iface
=
"eth0"
)
sleep
8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment