Merge pull request #593 from sameo/topic/cni

tutorial: Fix CNI plugins URL
This commit is contained in:
Antonio Murdaca 2017-06-13 16:59:07 +02:00 committed by GitHub
commit e3170caa2e

View file

@ -190,21 +190,21 @@ sudo crioctl runtimeversion
VersionResponse: Version: 0.1.0, RuntimeName: runc, RuntimeVersion: 1.0.0-rc2, RuntimeApiVersion: v1alpha1
```
### cni
### CNI plugins
This tutorial will use the latest version of `cni` from the master branch and build it from source.
This tutorial will use the latest version of `CNI` plugins from the master branch and build it from source.
Download the `cni` source tree:
Download the `CNI` plugins source tree:
```
go get -d github.com/containernetworking/cni
go get -d github.com/containernetworking/plugins
```
```
cd $GOPATH/src/github.com/containernetworking/cni
cd $GOPATH/src/github.com/containernetworking/plugins
```
Build the `cni` binaries:
Build the `CNI` plugins:
```
./build.sh
@ -228,7 +228,7 @@ Building plugins
noop
```
Install the `cni` binaries:
Install the `CNI` plugins:
```
sudo mkdir -p /opt/cni/bin
@ -273,7 +273,7 @@ sudo sh -c 'cat >/etc/cni/net.d/99-loopback.conf <<-EOF
EOF'
```
At this point `cni` is installed and configured to allocation IP address to containers from the `10.88.0.0/16` subnet.
At this point `CNI` is installed and configured to allocation IP address to containers from the `10.88.0.0/16` subnet.
## Pod Tutorial