From 67c821ed339318e9051e575fca969803ffdcd4dd Mon Sep 17 00:00:00 2001 From: Morgan Bauer Date: Tue, 17 May 2016 11:56:01 -0700 Subject: [PATCH] use `ip` command instead of obsolete ifconfig in scratch setup - replace use of ifconfig with ip - replace use of brctl with ip --- docs/getting-started-guides/scratch.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started-guides/scratch.md b/docs/getting-started-guides/scratch.md index a6efc189ae..8f081dd526 100644 --- a/docs/getting-started-guides/scratch.md +++ b/docs/getting-started-guides/scratch.md @@ -320,8 +320,8 @@ as follows before proceeding to configure Docker for Kubernetes. ```shell iptables -t nat -F -ifconfig docker0 down -brctl delbr docker0 +ip link set docker0 down +ip link delete docker0 ``` The way you configure docker will depend in whether you have chosen the routable-vip or overlay-network approaches for your network. @@ -420,7 +420,7 @@ because of how this is used later. 1. Set `--configure-cbr0=false` on kubelet and restart. 1. Create a bridge - - `brctl addbr cbr0`. + - `ip link add name cbr0 type bridge`. 1. Set appropriate MTU. NOTE: the actual value of MTU will depend on your network environment - `ip link set dev cbr0 mtu 1460` 1. Add the node's network to the bridge (docker will go on other side of bridge).