From c0ae212f1459a090068b3ea0eee761b037159115 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Mon, 24 Jan 2022 12:20:31 +0530 Subject: [PATCH 1/3] Add CKS compatibility matrix --- source/plugins/cloudstack-kubernetes-service.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/plugins/cloudstack-kubernetes-service.rst b/source/plugins/cloudstack-kubernetes-service.rst index ad76c6d3c0..0373879877 100644 --- a/source/plugins/cloudstack-kubernetes-service.rst +++ b/source/plugins/cloudstack-kubernetes-service.rst @@ -329,6 +329,22 @@ Token for dashboard login can be retrieved using the following command: # kubectl --kubeconfig /custom/path/kube.config describe secret $(kubectl --kubeconfig /custom/path/kube.config get secrets -n kubernetes-dashboard | grep kubernetes-dashboard-token | awk '{print $1}') -n kubernetes-dashboard +Kubernetes compatibility Matrix +################################# + ++--------------+---------------------------------+-----------------------------+-------------+ +|ACS Version | Supported Kubernetes Versions | CKS Template | SSH User | ++==============+=================================+=============================+=============+ +| 4.14.x | v1.11 onward (< 1.18) | CoreOS | core | ++--------------+---------------------------------+-----------------------------+-------------+ +| 4.15.x | v1.11 onward (< 1.18) | CoreOS | core | ++--------------+---------------------------------+-----------------------------+-------------+ +| 4.16.0 | v1.20 onward | SystemVM Template (Debian) | core | ++--------------+---------------------------------+-----------------------------+-------------+ +| 4.16.1 | v1.20 onward | SystemVM Template (Debian) | cloud | ++--------------+---------------------------------+-----------------------------+-------------+ + + .. |cks-add-version-form.png| image:: /_static/images/cks-add-version-form.png :alt: Add Kubernetes Supported Version form. .. |cks-cluster-access-tab.png| image:: /_static/images/cks-cluster-access-tab.png From 29ecbf59ffd68c4f004169efe7949c68a78c7856 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Tue, 25 Jan 2022 14:45:59 +0530 Subject: [PATCH 2/3] added note for cks clusters on upgrade of ACS to version 4.16.1+ --- source/plugins/cloudstack-kubernetes-service.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/plugins/cloudstack-kubernetes-service.rst b/source/plugins/cloudstack-kubernetes-service.rst index 0373879877..e445d9a74e 100644 --- a/source/plugins/cloudstack-kubernetes-service.rst +++ b/source/plugins/cloudstack-kubernetes-service.rst @@ -344,6 +344,10 @@ Kubernetes compatibility Matrix | 4.16.1 | v1.20 onward | SystemVM Template (Debian) | cloud | +--------------+---------------------------------+-----------------------------+-------------+ +**NOTE:** +If there exists CKS clusters prior to upgrading to ACS 4.16.1 or above, it is advised to teardown the old cluster and deploy a new one. +This is because, from 4.16.1 onward the SSH user is 'cloud' and while the Kubernetes clusters may scale fine, CKS will not report a successful scale +operation as the CKS service will not be able to access the control node with 'core' user. .. |cks-add-version-form.png| image:: /_static/images/cks-add-version-form.png :alt: Add Kubernetes Supported Version form. From 8876f1d9108c1532bc5fc207cff6f7a195f66895 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Wed, 2 Feb 2022 12:37:01 +0530 Subject: [PATCH 3/3] remove note on CKS --- source/plugins/cloudstack-kubernetes-service.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/plugins/cloudstack-kubernetes-service.rst b/source/plugins/cloudstack-kubernetes-service.rst index e445d9a74e..0373879877 100644 --- a/source/plugins/cloudstack-kubernetes-service.rst +++ b/source/plugins/cloudstack-kubernetes-service.rst @@ -344,10 +344,6 @@ Kubernetes compatibility Matrix | 4.16.1 | v1.20 onward | SystemVM Template (Debian) | cloud | +--------------+---------------------------------+-----------------------------+-------------+ -**NOTE:** -If there exists CKS clusters prior to upgrading to ACS 4.16.1 or above, it is advised to teardown the old cluster and deploy a new one. -This is because, from 4.16.1 onward the SSH user is 'cloud' and while the Kubernetes clusters may scale fine, CKS will not report a successful scale -operation as the CKS service will not be able to access the control node with 'core' user. .. |cks-add-version-form.png| image:: /_static/images/cks-add-version-form.png :alt: Add Kubernetes Supported Version form.