Kubernetes Version Upgrade doc. (r8 dsr8)

Updated all the command outputs and the applicable versions.

Change-Id: I62f19f28580aa20e0d63af7fb67c7ed7b8f82767
Signed-off-by: Dinesh Neelapu <dinesh.neelapu@windriver.com>
This commit is contained in:
Dinesh Neelapu 2023-07-10 16:39:45 +00:00
parent 58c9782b8e
commit e9cf2b2f52

View File

@ -80,10 +80,10 @@ and upgrade various systems.
+---------+--------+-------------+
| Version | Target | State |
+---------+--------+-------------+
| v1.18.1 | False | unavailable |
| v1.19.13| False | unavailable |
| v1.20.9 | False | unavailable |
| v1.21.8 | True | active |
| v1.21.8 | False | unavailable |
| v1.22.5 | False | unavailable |
| v1.23.1 | False | unavailable |
| v1.24.4 | True | active |
+---------+--------+-------------+
If |prod| was upgraded to |prod-ver|, the following appears:
@ -94,10 +94,10 @@ and upgrade various systems.
+---------+--------+-------------+
| Version | Target | State |
+---------+--------+-------------+
| v1.18.1 | True | active |
| v1.19.13| False | available |
| v1.20.9 | False | unavailable |
| v1.21.8 | False | unavailable |
| v1.21.8 | True | active |
| v1.22.5 | False | available |
| v1.23.1 | False | unavailable |
| v1.24.4 | False | unavailable |
+---------+--------+-------------+
The following meanings apply to the output shown:
@ -154,14 +154,15 @@ and upgrade various systems.
.. code-block:: none
~(keystone_admin)]$ system kube-upgrade-start v1.19.13
+-------------------+-------------------+
| Property | Value |
+-------------------+-------------------+
| from_version | v1.18.1 |
| to_version | v1.19.13 |
| state | upgrade-started |
+-------------------+-------------------+
~(keystone_admin)]$ system kube-upgrade-start v1.22.5
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| from_version | v1.21.8 |
| to_version | v1.22.5 |
| state | upgrade-started |
+--------------+--------------------------------------+
The upgrade process checks the *applied*/*available* updates, the upgrade
path, the health of the system, the installed applications compatibility and
@ -182,11 +183,11 @@ and upgrade various systems.
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| uuid | b5f7dada-2537-4416-9d2c-f9ca9fcd0e22 |
| from_version | v1.18.1 |
| to_version | v1.19.13 |
| uuid | bf3f9c80-0cec-49a0-91ef-dd86c9bb8fe8 |
| from_version | v1.21.8 |
| to_version | v1.22.5 |
| state | downloading-images |
| created_at | 2020-02-20T16:08:48.854869+00:00 |
| created_at | 2023-06-26T18:44:46.854319+00:00 |
| updated_at | None |
+--------------+--------------------------------------+
@ -198,12 +199,12 @@ and upgrade various systems.
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| uuid | b5f7dada-2537-4416-9d2c-f9ca9fcd0e22 |
| from_version | v1.18.1 |
| to_version | v1.19.13 |
| uuid | bf3f9c80-0cec-49a0-91ef-dd86c9bb8fe8 |
| from_version | v1.21.8 |
| to_version | v1.22.5 |
| state | downloaded-images |
| created_at | 2020-02-20T16:08:48.854869+00:00 |
| updated_at | 2020-02-20T16:10:37.858661+00:00 |
| created_at | 2023-06-26T18:44:46.854319+00:00 |
| updated_at | 2023-06-26T18:51:29.486448+00:00 |
+--------------+--------------------------------------+
#. Upgrade Kubernetes networking.
@ -217,12 +218,12 @@ and upgrade various systems.
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| uuid | b5f7dada-2537-4416-9d2c-f9ca9fcd0e22 |
| from_version | v1.18.1 |
| to_version | v1.19.13 |
| uuid | bf3f9c80-0cec-49a0-91ef-dd86c9bb8fe8 |
| from_version | v1.21.8 |
| to_version | v1.22.5 |
| state | upgrading-networking |
| created_at | 2020-02-20T16:08:48.854869+00:00 |
| updated_at | 2020-02-20T16:18:11.459736+00:00 |
| created_at | 2023-06-26T18:44:46.854319+00:00 |
| updated_at | 2023-06-26T18:51:29.486448+00:00 |
+--------------+--------------------------------------+
The state *upgraded-networking* will be entered when the networking
@ -236,16 +237,15 @@ and upgrade various systems.
+-----------------------+-------------------------+
| Property | Value |
+-----------------------+-------------------------+
| control_plane_version | v1.18.1 |
| control_plane_version | v1.21.8 |
| hostname | controller-1 |
| id | 2 |
| kubelet_version | v1.18.1 |
| kubelet_version | v1.21.8 |
| personality | controller |
| status | upgrading-control-plane |
| target_version | v1.19.13 |
| target_version | v1.22.5 |
+-----------------------+-------------------------+
You can upgrade either controller first.
The state *upgraded-first-master* will be entered when the first control
@ -259,13 +259,13 @@ and upgrade various systems.
+-----------------------+-------------------------+
| Property | Value |
+-----------------------+-------------------------+
| control_plane_version | v1.18.1 |
| control_plane_version | v1.21.8 |
| hostname | controller-0 |
| id | 1 |
| kubelet_version | v1.18.1 |
| kubelet_version | v1.21.8 |
| personality | controller |
| status | upgrading-control-plane |
| target_version | v1.19.13 |
| target_version | v1.22.5 |
+-----------------------+-------------------------+
The state *upgraded-second-master* will be entered when the upgrade has
@ -279,8 +279,8 @@ and upgrade various systems.
+----+--------------+-------------+----------------+-----------------------+-----------------+--------+
| id | hostname | personality | target_version | control_plane_version | kubelet_version | status |
+----+--------------+-------------+----------------+-----------------------+-----------------+--------+
| 1 | controller-0 | controller | v1.19.13 | v1.19.13 | v1.18.1 | None |
| 2 | controller-1 | controller | v1.19.13 | v1.19.13 | v1.18.1 | None |
| 1 | controller-0 | controller | v1.22.5 | v1.22.5 | v1.21.8 | None |
| 2 | controller-1 | controller | v1.22.5 | v1.22.5 | v1.21.8 | None |
| 3 | worker-0 | worker | v1.18.1 | N/A | v1.18.1 | None |
| 4 | worker- 1 | worker | v1.18.1 | N/A | v1.18.1 | None |
+----+--------------+-------------+----------------+-----------------------+-----------------+--------+
@ -319,13 +319,13 @@ and upgrade various systems.
+-----------------------+-------------------+
| Property | Value |
+-----------------------+-------------------+
| control_plane_version | v1.19.13 |
| control_plane_version | v1.22.5 |
| hostname | controller-1 |
| id | 2 |
| kubelet_version | v1.18.1 |
| kubelet_version | v1.21.8 |
| personality | controller |
| status | upgrading-kubelet |
| target_version | v1.19.13 |
| target_version | v1.22.5 |
+-----------------------+-------------------+
#. For non |AIO-SX| systems, unlock the controller.
@ -345,12 +345,12 @@ and upgrade various systems.
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| uuid | b5f7dada-2537-4416-9d2c-f9ca9fcd0e22 |
| from_version | v1.18.1 |
| to_version | v1.19.13 |
| uuid | bf3f9c80-0cec-49a0-91ef-dd86c9bb8fe8 |
| from_version | v1.21.8 |
| to_version | v1.22.5 |
| state | upgrading-kubelets |
| created_at | 2020-02-20T16:08:48.854869+00:00 |
| updated_at | 2020-02-20T21:53:16.347406+00:00 |
| created_at | 2023-06-26T18:44:46.854319+00:00 |
| updated_at | 2023-06-26T19:41:57.936617+00:00 |
+--------------+--------------------------------------+
#. Upgrade kubelet on all worker hosts.
@ -379,13 +379,13 @@ and upgrade various systems.
+-----------------------+-------------------+
| Property | Value |
+-----------------------+-------------------+
| control_plane_version | v1.19.13 |
| control_plane_version | v1.22.5 |
| hostname | worker-1 |
| id | 3 |
| kubelet_version | v1.18.1 |
| kubelet_version | v1.21.8 |
| personality | worker |
| status | upgrading-kubelet |
| target_version | v1.19.13 |
| target_version | v1.22.5 |
+-----------------------+-------------------+
#. Unlock the host.
@ -405,12 +405,12 @@ and upgrade various systems.
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| uuid | 4e942297-465e-47d4-9e1b-9fb1630be33c |
| from_version | v1.18.1 |
| to_version | v1.19.13 |
| uuid | bf3f9c80-0cec-49a0-91ef-dd86c9bb8fe8 |
| from_version | v1.21.8 |
| to_version | v1.22.5 |
| state | upgrade-complete |
| created_at | 2020-02-19T20:59:51.079966+00:00 |
| updated_at | 2020-02-24T15:03:34.572199+00:00 |
| created_at | 2023-06-26T18:44:46.854319+00:00 |
| updated_at | 2023-06-26T19:06:47.515747+00:00 |
+--------------+--------------------------------------+
#. Remove the alarm 900.007 (Kubernetes upgrade in progress) if it is still