From 1d04a16d61ccfac791e148d03773819186efa37a Mon Sep 17 00:00:00 2001 From: MCamp859 Date: Thu, 1 Nov 2018 10:34:53 -0400 Subject: [PATCH] =?UTF-8?q?Added=20more=20details=20in=20=E2=80=9CInstall?= =?UTF-8?q?=20pod=20network=20add-on=E2=80=9D=20section.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MCamp859 --- source/clear-linux/tutorials/kubernetes.rst | 30 ++++++++++++--------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/source/clear-linux/tutorials/kubernetes.rst b/source/clear-linux/tutorials/kubernetes.rst index 76e6529e..999e1503 100644 --- a/source/clear-linux/tutorials/kubernetes.rst +++ b/source/clear-linux/tutorials/kubernetes.rst @@ -199,17 +199,29 @@ Install pod network add-on ************************** You must choose and install a `pod network add-on`_ to allow your pods to -communicate. +communicate. Check whether or not your add-on requires special flags when you +initialize the master control plane. -Check whether or not your add-on requires special flags when you initialize -the master control plane. For example, if you choose the `flannel` add-on, -then you must add the following to the `kubeadm init` command: +**Notes about flannel add-on** + +If you choose the `flannel` add-on, then you must add the following to the +`kubeadm init` command: .. code-block:: bash --pod-network-cidr 10.244.0.0/16 -Similarly, if you choose the `weave` add-on, then you must make the following +If you are using CRI-O and `flannel` and you want to use Kata Containers, edit +the :file:`/etc/crio/crio.conf` file to add: + +.. code-block:: bash + + [crio.runtime] + manage_network_ns_lifecycle = true + +**Notes about weave add-on** + +If you choose the `weave` add-on, then you must make the following changes because the weave-net plugin installs itself in the :file:`/opt/cni/bin` directory. @@ -240,14 +252,6 @@ If you are using CRI-O and `weave`, you must complete the following steps. sudo ln -s /usr/libexec/cni/loopback /opt/cni/bin/loopback -If you are using CRI-O and `flannel` and you want to use Kata Containers, edit -the :file:`/etc/crio/crio.conf` file to add: - -.. code-block:: bash - - [crio.runtime] - manage_network_ns_lifecycle = true - Use your cluster ****************