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
a97520fe
Commit
a97520fe
authored
Jul 17, 2015
by
David Oppenheimer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11176 from erictune/scratchfix
Remove mention of docker --bip flag.
parents
e81645b9
006d7576
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
scratch.md
docs/getting-started-guides/scratch.md
+3
-5
No files found.
docs/getting-started-guides/scratch.md
View file @
a97520fe
...
@@ -348,17 +348,15 @@ brctl delbr docker0
...
@@ -348,17 +348,15 @@ brctl delbr docker0
```
```
The way you configure docker will depend in whether you have chosen the routable-vip or overlay-network approaches for your network.
The way you configure docker will depend in whether you have chosen the routable-vip or overlay-network approaches for your network.
Some
docker options will want to think about
:
Some
suggested docker options
:
-
create your own bridge for the per-node CIDR ranges,
and set
`--bridge=cbr0`
and
`--bip=false`
. Or let docker do it with
`--bip=true`
.
-
create your own bridge for the per-node CIDR ranges,
call it cbr0, and set
`--bridge=cbr0`
option on docker
.
-
`--iptables=false`
so docker will not manipulate iptables for host-ports (too coarse on older docker versions, may be fixed in newer versions)
-
set
`--iptables=false`
so docker will not manipulate iptables for host-ports (too coarse on older docker versions, may be fixed in newer versions)
so that kube-proxy can manage iptables instead of docker.
so that kube-proxy can manage iptables instead of docker.
-
`--ip-masq=false`
-
`--ip-masq=false`
-
if you have setup PodIPs to be routable, then you want this false, otherwise, docker will
-
if you have setup PodIPs to be routable, then you want this false, otherwise, docker will
rewrite the PodIP source-address to a NodeIP.
rewrite the PodIP source-address to a NodeIP.
-
some environments (e.g. GCE) still need you to masquerade out-bound traffic when it leaves the cloud environment. This is very environment specific.
-
some environments (e.g. GCE) still need you to masquerade out-bound traffic when it leaves the cloud environment. This is very environment specific.
-
if you are using an overlay network, consult those instructions.
-
if you are using an overlay network, consult those instructions.
-
`--bip=`
-
should be the CIDR range for pods for that specific node.
-
`--mtu=`
-
`--mtu=`
-
may be required when using Flannel, because of the extra packet size due to udp encapsulation
-
may be required when using Flannel, because of the extra packet size due to udp encapsulation
-
`--insecure-registry $CLUSTER_SUBNET`
-
`--insecure-registry $CLUSTER_SUBNET`
...
...
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