summaryrefslogtreecommitdiffhomepage
path: root/g3doc/user_guide/tutorials/cni.md
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-09-02 19:37:06 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-02 19:38:34 -0700
commita8c174c04751799514ec2e89111e7d03ddf68b70 (patch)
tree2438c22df0a3edd4f2d46834de5fda97b268ff42 /g3doc/user_guide/tutorials/cni.md
parent86c1ae095a95d2433b874d9b052ebcea6fab0e26 (diff)
Update version in cni tutorial
Update the cniVersion used in the CNI tutorial so that it works with containerd 1.2. Containerd 1.2 includes a version of the cri plugin (release/1.2) that, in turn, includes a version of the cni library (0.6.0) that only supports up to 0.3.1. https://github.com/containernetworking/cni/blob/v0.6.0/pkg/version/version.go#L38 PiperOrigin-RevId: 329837188
Diffstat (limited to 'g3doc/user_guide/tutorials/cni.md')
-rw-r--r--g3doc/user_guide/tutorials/cni.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/g3doc/user_guide/tutorials/cni.md b/g3doc/user_guide/tutorials/cni.md
index ce2fd09a8..a3507c25b 100644
--- a/g3doc/user_guide/tutorials/cni.md
+++ b/g3doc/user_guide/tutorials/cni.md
@@ -47,7 +47,7 @@ sudo mkdir -p /etc/cni/net.d
sudo sh -c 'cat > /etc/cni/net.d/10-bridge.conf << EOF
{
- "cniVersion": "0.4.0",
+ "cniVersion": "0.3.1",
"name": "mynet",
"type": "bridge",
"bridge": "cni0",
@@ -65,7 +65,7 @@ EOF'
sudo sh -c 'cat > /etc/cni/net.d/99-loopback.conf << EOF
{
- "cniVersion": "0.4.0",
+ "cniVersion": "0.3.1",
"name": "lo",
"type": "loopback"
}