This commit is contained in:
Zuul 2024-08-20 13:33:27 +00:00 committed by Gerrit Code Review
commit 9e6c774117

View File

@ -185,6 +185,8 @@ system. This feature is not supported in the system which is not |AIO-SX|.
#. Upgrade Kubernetes networking, for example: #. Upgrade Kubernetes networking, for example:
.. _upgrade_kubernetes_networking:
.. code-block:: none .. code-block:: none
~(keystone_admin)]$ system kube-upgrade-networking ~(keystone_admin)]$ system kube-upgrade-networking
@ -218,6 +220,8 @@ system. This feature is not supported in the system which is not |AIO-SX|.
#. |optional| Cordon #. |optional| Cordon
.. _cordon:
The :command:`kube-host-cordon` command will evict the regular pods from The :command:`kube-host-cordon` command will evict the regular pods from
the host. This command will prevent the application from running on the host. This command will prevent the application from running on
intermediate versions. intermediate versions.
@ -259,6 +263,8 @@ system. This feature is not supported in the system which is not |AIO-SX|.
#. Upgrade the control plane on controller-0. #. Upgrade the control plane on controller-0.
.. _upgrade_control_plane:
.. code-block:: none .. code-block:: none
~(keystone_admin)]$ system kube-host-upgrade controller-0 control-plane ~(keystone_admin)]$ system kube-host-upgrade controller-0 control-plane
@ -318,13 +324,14 @@ system. This feature is not supported in the system which is not |AIO-SX|.
The status **upgraded-kubelet** will be entered when the kubelet upgrade The status **upgraded-kubelet** will be entered when the kubelet upgrade
has completed. has completed.
Repeat steps 8 and 9 to reach the target Kubernetes version. For example, in Repeat steps :ref:`Cordon <cordon>` and :ref:`Upgrade the control plane <upgrade_control_plane>`
this case, we need to repeat steps 8 and 9 twice for the remaining to reach the target Kubernetes version. For example, in this case, repeat
versions v1.23.1 and v1.24.4. steps :ref:`Cordon <cordon>` and :ref:`Upgrade the control plane <upgrade_control_plane>`
twice for the remaining versions v1.23.1 and v1.24.4.
#. |optional| Run the ``uncordon`` subcommand. #. |optional| Run the ``uncordon`` subcommand.
Skip this step if you did not perform step 7. Skip this step if you did not perform step :ref:`Upgrade Kubernetes Networking <upgrade_kubernetes_networking>`.
The :command:`kube-host-uncordon` command will allow the regular pods on the The :command:`kube-host-uncordon` command will allow the regular pods on the
host again. host again.