nfv/nfv/nfv-tests/nfv_unit_tests
Al Bailey 0f83fc1169 Combine multiple kube-upgrades into one strategy
This algorithm change is Simplex only.
The algorithm for multi-version upgrade for k8s is:
- system kube-upgrade-start <final version>
- system kube-upgrade-download-images
- system kube-upgrade-networking
- system kube-host-cordon controller-0 (future)
- loop <v> from current version to final version
 - system kube-host-upgrade controller-0 control-plane <v>
 - system kube-host-upgrade controller-0 kubelet <v>
- system kube-host-uncordon controller-0 (future)
- system kube-upgrade-complete
- system kube-upgrade-delete

This change does the following additional cleanup:
- remove patch-apply intermediate steps during kube-upgrade
- remove all patching mixings from kube upgrade strategy

Test Plan:
  PASS: (multi-upgrade) AIO-SX kube upgrade orchestration
        v1.21.8 to v1.24.4
  PASS: (single upgrade) AIO-DX kube-upgrade orchestration
        v1.21.8 to v1.22.5

Depends-On: https://review.opendev.org/c/starlingx/config/+/877988

Story: 2010565
Task: 47741
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Id654212e198321c6518b8feaa85cd5301167735c
2023-04-28 13:10:29 +00:00
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Combine multiple kube-upgrades into one strategy 2023-04-28 13:10:29 +00:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00

README

#
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#

# Tox (http://tox.testrun.org/) is a tool for running tests in multiple
# virtual environments.  To use it, "pip install tox" and then run "tox"
# from this directory (where the nfv_unit_tests are located).
#