StarlingX System Configuration Management
Go to file
Jim Gauld c12b03245a Support kubernetes 1.21 removal of namespace API export parameter
The following Kubernetes client APIs changed and required usage
changes. The 'export' parameter was deprecated in v1.14 and is
no longer supported in v1.21 .
- c.read_namespaced_secret()
- c.read_namespaced_config_map()

Subsequent API create calls (i.e., c.create_namespaced_secret(),
c.create_namespaced_config_map()) requires superfluous fields
to be removed from metadata. This is done explicity by setting
resource_version to None. These APIs are specifically used
during 'system application-apply X'.

Story: 2008972
Task: 43604

Test Plan: Testing with commits for topic: kubernetes-1.21.3

PASS: Install AIO-DX with kubernetes_version 1.18.1
PASS: Install AIO-DX with kubernetes_version 1.20.9
PASS: Install AIO-SX with kubernetes_version 1.21.3
PASS: Install AIO-DX with kubernetes_version 1.21.3
PASS: Install Standard with kubernetes_version 1.21.3
PASS: Kubernetes 1.21.3, verify cpu-manager 'static' policy
      isolation of Guaranteed resource limit pods
      verify kubelet cpu-manager logs for pod apply
PASS: Kubernetes 1.21.3, verify cpu-manager 'static' policy
      isolation of 'windriver.com/isolcpus' resource limit pods
      verify kubelet cpu-manager logs for pod apply
PASS: Kubernetes 1.21.3 Verify platform apps: cert-manager, platorm-integ-apps
PASS: Kubernetes 1.18.1 Create and delete PersistentVolumeClaim
PASS: Kubernetes 1.20.9 Create and delete PersistentVolumeClaim
PASS: Kubernetes 1.21.3 Create and delete PersistentVolumeClaim
PASS: Apply and remove application <app> and verify <app>
PASS: Kubernetes 1.18.1 Verify pause image version is 3.2
PASS: Kubernetes 1.20.9 Verify pause image version is 3.2
PASS: Kubernetes 1.21.3 Verify pause image version is 3.4.1
PASS: Kubernetes 1.18.1 Verify cgroupDriver is cgroupfs
PASS: Kubernetes 1.20.9 Verify cgroupDriver is cgroupfs
PASS: Kubernetes 1.21.3 Verify cgroupDriver is cgroupfs

Signed-off-by: Jim Gauld <james.gauld@windriver.com>
Change-Id: Id8448c4cd3ca9839fde8b001ec05403284dc5bf4
2021-10-13 17:12:06 -04:00
api-ref/source API reference for kube-rootca-update procedure 2021-09-08 13:31:06 -04:00
config-gate Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
controllerconfig Fix SNMP upgrade scenario 2021-09-21 11:55:33 -03:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
storageconfig Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
sysinv Support kubernetes 1.21 removal of namespace API export parameter 2021-10-13 17:12:06 -04:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
tools/docker/images Enable kubernetes SCTPSupport feature 2019-09-03 19:23:05 +00:00
tsconfig Merge "Add pylint py3 portability checks for the tsconfig repo" 2021-09-16 16:23:37 +00:00
workerconfig Single puppet manifest for AIO controllers 2021-04-14 22:05:55 -04:00
.gitignore Minor zuul and tox file cleanup after manifest re-org 2019-09-06 15:40:37 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Add gate for python 3.9 2021-09-08 10:38:39 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
bindep.txt py3: Add py39 gate for sysinv 2021-08-27 08:39:06 -04:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 12:29:05 +08:00
centos_dev_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
centos_helm.inc Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_iso_image.inc Add cert-alarm service 2021-07-22 08:29:23 -04:00
centos_pkg_dirs Add cert-alarm service 2021-07-22 08:29:23 -04:00
centos_pkg_dirs_containers Config file changes for packages relocated to repo 'openstack-armada-app' 2019-09-05 10:42:00 -04:00
centos_stable_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
test-requirements.txt Calling an additional shell lint command from zuul 2021-06-03 17:35:50 -05:00
tox.ini Calling an additional shell lint command from zuul 2021-06-03 17:35:50 -05:00

README.rst

stx-config

StarlingX Configuration Management