Merge pull request #373 from mvincerx/kubernetes-02

kubernetes tut: Corrects syntax error on lines 206-208.
This commit is contained in:
michael vincerra
2019-01-24 13:12:59 -08:00
committed by GitHub
+10 -10
View File
@@ -201,11 +201,11 @@ changes because it installs itself in the :file:`/opt/cni/bin` directory.
For using CRI-O and ``Weave Net``, complete the following step.
#. Add the `loopback` CNI plugin to the plugin path with the command:
Add the `loopback` CNI plugin to the plugin path with the command:
code-block:: bash
.. code-block:: bash
sudo ln -s /usr/libexec/cni/loopback /opt/bin/cni/loopback
sudo ln -s /usr/libexec/cni/loopback /opt/bin/cni/loopback
Use your cluster
****************
@@ -348,7 +348,9 @@ Troubleshooting
export "SOCKS_PROXY=http://proxy.example.com:1080"
export "NO_PROXY= site.com,.site.com,localhost,127.0.0.1,<master IP>
<master IP> can be obtained by running :command:`ifconfig`.
.. note::
<master IP> can be obtained by running :command:`ifconfig`.
#. Save and exit the `profile`.
@@ -358,14 +360,13 @@ Troubleshooting
sudo source profile
#. To assure your system isn't running previous session variables, run:
#. To ensure your system isn't running previous session variables, run:
.. code-block:: bash
sudo kubeadm reset --cri-socket=/run/crio/crio.sock
#. Continue below while pass `-E` in the command as shown.
#. Continue below while passing `-E` in the command as shown.
* Missing environment variables.
@@ -374,9 +375,8 @@ Troubleshooting
.. code-block:: bash
/* Kubernetes with CRI-O + kata-runtime */
sudo -E kubeadm init --cri-socket=/run/crio/crio.sock
/* Kubernetes with CRI-O + kata-runtime */
sudo -E kubeadm init --cri-socket=/run/crio/crio.sock
.. _Kubernetes container orchestration system: https://kubernetes.io/