Updated Steps for kubernetes multi-version upgrade (dsr8MR2, dsr8MR3)

Change-Id: Id7ae90b8067072a82cca96a23c6a0a341ce406a9
Signed-off-by: Juanita Balaraj <juanita.balaraj@windriver.com>
This commit is contained in:
Juanita Balaraj 2024-08-28 18:06:22 +00:00 committed by Juanita-Balaraj
parent 1bc85b73f0
commit 1e919da8a6

View File

@ -220,8 +220,6 @@ 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.
@ -295,6 +293,8 @@ system. This feature is not supported in the system which is not |AIO-SX|.
#. Upgrade kubelet on controller-0. #. Upgrade kubelet on controller-0.
.. _upgrade_kubelet:
.. code-block:: none .. code-block:: none
~(keystone_admin)]$ system kube-host-upgrade controller-0 kubelet ~(keystone_admin)]$ system kube-host-upgrade controller-0 kubelet
@ -324,10 +324,12 @@ 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 :ref:`Cordon <cordon>` and :ref:`Upgrade the control plane <upgrade_control_plane>` Repeat steps :ref:`Upgrade control plane <upgrade_control_plane>` and
to reach the target Kubernetes version. For example, in this case, repeat :ref:`Upgrade Kubelet <upgrade_kubelet>` to reach the target Kubernetes
steps :ref:`Cordon <cordon>` and :ref:`Upgrade the control plane <upgrade_control_plane>` version. For example, in this case, repeat steps
twice for the remaining versions v1.23.1 and v1.24.4. :ref:`Upgrade control plane <upgrade_control_plane>` and
:ref:`Upgrade Kubelet <upgrade_kubelet>` twice for the remaining versions
v1.23.1 and v1.24.4.
#. |optional| Run the ``uncordon`` subcommand. #. |optional| Run the ``uncordon`` subcommand.