What’s new in CSE 3.1?
For greenfield installations, please get started with CSE introduction.
1. Overview
Terminology:
- TKG cluster : Clusters deployed by CSE using VMware Tanzu Kubernetes Grid OVA.
- Native cluster : Clusters deployed by CSE using upstream Kubernetes.
- TKGs cluster : VMware Tanzu Kubernetes Grid Service cluster a.k.a vSphere with Tanzu cluster.
- TKGi cluster : Enterprise PKS cluster a.k.a VMware Tanzu Kubernetes Grid Integrated Edition cluster.
- Defined entities : Runtime defined entities a.k.a RDE or Defined Entity Framework.
- Native entities: Runtime defined entities representing Native clusters.
- TKGs entities: Runtime defined entities representing TKGs clusters.
- Defined entity API: VCD’s generic defined entity api to manage lifecycle of RDEs.
- UI plugin : Kubernetes Container Clusters UI plugin, that is used to manage Native, TKG, TKGs, TKGi clusters from VCD UI.
CSE 3.1.4
- Support for Ubuntu 20.04 Kubernetes OVAs from VMware Tanzu Kubernetes Grid Versions 1.5.3 and K8s version 1.22.
- Support for Ubuntu 20.04 Kubernetes OVAs from VMware Tanzu Kubernetes Grid Versions 1.5.4 and K8s version 1.22.
- Interoperability with VCD 10.4.0 GA
- Support for RDE 2.0 request payloads in which RDE 2.1 clusters are created.
- Bug fix to support Ubuntu 20.04 native templates. Learn more here
- Bug fix to mitigate VM reboot issue. Learn more here
- Bug fix for TKG cluster creation failure with missing right error. Learn more here
CSE 3.1.3
- New RDE 2.1 for TKG and native clusters. Learn more here.
- New Kubernetes Container Clusters plugin version 3.3.0. The plugin needs to be downloaded directly from VMware Cloud Director 10.3.3 Download page and installed into VCD 10.3.1+ being used.
- Support for default storage class for TKG clusters through UI Plugin 3.3.0 and CLI on VCD 10.3.1+. The UI Plugin 3.3.0 needs to be downloaded from VMware Cloud Director 10.3.3 Download page directly.
- Support for Ubuntu 20.04 Kubernetes OVAs from VMware Tanzu Kubernetes Grid Versions 1.5.1 and K8s version 1.22.
- Support for TKG Core Package installation for kapp-controller and metrics-server for TKG clusters. Learn more here.
- Support for TKG compatible Antrea version installation for TKG clusters, by default. Users can overwrite the Antrea version, if required. Learn more here.
- Support for Kubernetes External Cloud Provider for VCD (CPI) version 1.1.1, as default. Learn more about CPI for VCD.
- Support for Kubernetes Container Storage Interface for VCD (CSI) version 1.2.0, as default. Learn more about CSI for VCD.
- Support for Python version 3.10 for CSE installation. Learn more here.
- Support for Antrea, CPI, CSI version override in cluster spec (learn more here) and CSE server config (learn more here).
- A new Ubuntu 20.04 Native template for K8s 1.23 Kubernetes Clusters. Learn more here.
- Revision updates to existing Ubuntu 16.04 Native templates. Learn more here.
CSE 3.1.2
- Cluster API Provider for Cloud Director that offers multi-control plane clusters and cluster upgrades using declarative, Kubernetes-style APIs. Learn more about CAPI for VCD
- Kubernetes External Cloud Provider for VCD has been updated to v1.1.0. Learn more about CPI for VCD
- Kubernetes Container Storage Interface for VCD has been updated to v1.1.0. Learn more about CSI for VCD
- Kubernetes Container Clusters plugin has been updated to version 3.2.0. The plugin ships with VCD 10.3.2.
- Support for injecting proxy information into TKG clusters created by CSE. Learn more about the feature, here.
- New command option to forcefully delete clusters that were not fully created and were left in unremovable state. Learn more, here.
- Support for VMware Tanzu packages - Harbor, FluentBit, Prometheus, Grafana in TKG clusters.
CSE 3.1.1
- Support for importing VMware Tanzu Kubernetes Grid OVAs and deploying Kubernetes clusters.
- Learn more about using VMware Tanzu Kubernetes Grid OVAs with CSE
- Learn more about deploying a Kubernetes cluster based on VMware Tanzu Kubernetes Grid here
- Antrea as CNI
- Kubernetes External Cloud Provider for VCD. Learn more about CPI for VCD
- Kubernetes Container Storage Interface for VCD. Learn more about CSI for VCD
- Kubernetes Container Clusters plugin is updated to version 3.1.0, which includes support for Tanzu Kubernetes Grid. The plugin ships with VCD 10.3.1.
- Deploy externally accessible TKG clusters on NSX-T based Routed OrgVDC Networks from Kubernetes Container Clusters UI plugin v3.1.0.
- Deprecation of Photon OS 2.0 based native templates, they will be removed in a future CSE release.
CSE 3.1.0
- CSE 3.1 need not be started with a particular VCD API version. It is now capable of accepting incoming requests at any supported VCD API version. Refer to changes in the configuration file.
- A new version of the template recipe cookbook 2.0.0 is introduced. Each template has a new descriptor that lets CSE 3.1 determine the templates it can support. Refer to changes in the configuration file
- CSE CLI offers new capabilities to upgrade and share clusters. Refer to the commands here.
- Kubernetes Container Clusters UI Plugin 3.0 offers a new capability to upgrade clusters. It also enables one to view clusters that are deployed across multisite VCD instances.
- Newer versions of native Kubernetes templates are available. Refer to Template announcements
- CSE 3.1 drops the support with VCD 10.0.
- Deprecation of TKGi (Enterprise PKS) - CSE Server and Kubernetes Container Clusters plugin will soon drop support for TKGi. Consider using VMware Tanzu Kubernetes Grid (TKG) or VMware Tanzu Kubernetes Grid Service (TKGs) for management of Kubernetes clusters with VCD.
User Context Diagram
2. Provider workflows
2.1 Compatibility matrix and relevant features
Kubernetes Container Clusters UI plugin compatibility matrix
CSE Server/CLI | UI plugin | Cloud Director | Comments |
---|---|---|---|
3.1.4 | 3.4.0 | 10.4.0 | Plugin ships with VCD |
3.1.4 | 3.3.0 | 10.3.1+ | Must use UI Plugin 3.3.0. Plugin ships on VMware Cloud Director 10.3.3 Download page |
3.1.4 | 2.2.0 | 10.2.2 | Plugin ships with VCD |
3.1.3 | 3.3.0 | 10.3.1+ | Must use UI Plugin 3.3.0. Plugin ships on VMware Cloud Director 10.3.3 Download page |
3.1.3 | 2.2.0 | 10.2.2 | Plugin ships with VCD |
3.1.2 | 3.2.0 | 10.3.2 | Plugin ships with VCD |
3.1.2 | 3.1.0 | 10.3.1 | Plugin ships with VCD |
3.1.2 | 2.2.0 | 10.2.2 | Plugin ships with VCD |
3.1.2 | 1.0.3 | 10.1 | |
3.1.1 | 3.1.0 | 10.3.1 | Plugin ships with VCD |
3.1.1 | 2.2.0 | 10.2.2 | Plugin ships with VCD |
3.1.1 | 1.0.3 | 10.1 | |
3.1.0 | 3.0.0 | 10.3.0 | Plugin ships with VCD |
3.1.0 | 2.0.0 | 10.2.0 | Plugin ships with VCD |
3.1.0 | 1.0.3 | 10.1 |
Native cluster compatiblity matrix
CSE Server/CLI | Cloud Director | NSX-T | NSX-V | Comments |
---|---|---|---|---|
3.1.4 | 10.3.1+ | 3.1.1 | 6.4.10† | Cluster representation as RDE 2.1.0 |
3.1.3 | 10.3.1+ | 3.1.1 | 6.4.10† | Cluster representation as RDE 2.1.0 |
3.1.3 | 10.2.2 | 3.1.1 | 6.4.10† | Cluster representation as RDE 1.0.0 |
3.1.2 | 10.3.2 | 3.1.1 | 6.4.10† | Cluster representation as RDE 2.0.0 |
3.1.2 | 10.3.1 | 3.1.1 | 6.4.10† | Cluster representation as RDE 2.0.0 |
3.1.2 | 10.2.2 | 3.1.1 | 6.4.10† | Cluster representation as RDE 1.0.0 |
3.1.2 | 10.1 | n/a | 6.4.8† | Cluster representation as vApp |
3.1.1 | 10.3.1 | 3.1.1 | 6.4.10† | Cluster representation as RDE 2.0.0 |
3.1.1 | 10.2.2 | 3.1.1 | 6.4.10† | Cluster representation as RDE 1.0.0 |
3.1.1 | 10.1 | n/a | 6.4.8† | Cluster representation as vApp |
3.1.0 | 10.3.0 | 3.1.1 | 6.4.10† | Cluster representation as RDE 2.0.0 |
3.1.0 | 10.2.0 | 3.1.1 | 6.4.10† | Cluster representation as RDE 1.0.0 |
3.1.0 | 10.1 | n/a | 6.4.8† | Cluster representation as vApp |
† - With NSX-V, CSE doesn’t support creation of clusters on routed Org VDC networks.
TKG compatibility
-
For CSE and VCD interoperability, please check the VMware Product Interoperability Matrix link
-
CSE TKG supports the NSX and Avi versions supported by VCD. Please check the VMware Product Interoperability Matrix link
-
Ubuntu 20.04 Kubernetes OVAs from VMware Tanzu Kubernetes Grid Versions 1.5.1, 1.4.0, 1.3.1, 1.3.0 are supported.
TKGs compatibility matrix
CSE CLI | UI plugin | Cloud Director |
---|---|---|
3.1.3 | 3.3.0 | 10.3.1+ |
3.1.2 | 3.2.0 | 10.3.2 |
3.1.2 | 3.1.0 | 10.3.1 |
3.1.2 | 2.2.0 | 10.2.2 |
3.1.1 | 3.1.0 | 10.3.1 |
3.1.1 | 2.2.0 | 10.2.2 |
3.1.0 | 3.0.0 | 10.3.0 |
3.1.0 | 2.0.0 | 10.2.0 |
Note : TKGs cluster management doesn’t need CSE server to be running.
TKGi compatibility matrix
CSE Server | Cloud Director | TKGi | NSX-T |
---|---|---|---|
3.1.2, 3.1.1, 3.1.0 | 10.3.1, 10.2.2, 10.1 | 1.7 | 2.5.1 |
2.2 CSE Server
2.2.1 Changes in the configuration file
Refer to the sample config file
CSE 3.1.3
- Addition of new extra_options fields: cpi_version, csi_version, and antrea_version
CSE 3.1.2
- Addition of new extra_options section that allows Providers to specify proxy details for TKG clusters.
CSE 3.1.1
- Addition of property no_vc_communication_mode under
service
section. vcs
section is no longer required ifno_vc_communication_mode
is set to True.- Removal of properties
default_template_name
anddefault_template_revision
frombroker
section.
CSE 3.1.0
- Removal of property api_version
- Addition of property legacy_mode
- New template cookbook 2.0 is introduced;
refer to the
remote_template_cookbook_url
for the location - mqtt property must be enabled when CSE 3.1 is configured with VCD 10.3.
2.2.2 Greenfield installation
Refer to CSE 3.1 installation.
2.2.3 Brownfield upgrade
3.1.4 CSE can be upgraded from version 3.1.3, 3.1.2, 3.1.1, 3.1.0 and 3.0.z to version 3.1.4 GA. Any CSE release older than CSE 3.0.0 first needs to be upgraded to CSE 3.0.z product line before it can be upgraded to CSE 3.1.4.
Note : If Tanzu Kubernetes Grid (TKG) distribution is enabled on CSE 3.0.z, then please consider upgrading to CSE 3.1.4 following these steps.
Refer to CSE 3.1 upgrade command for details
3.1.3 CSE can be upgraded from version 3.1.2, 3.1.1, 3.1.0 and 3.0.z to version 3.1.3 GA. Any CSE release older than CSE 3.0.0 first needs to be upgraded to CSE 3.0.z product line before it can be upgraded to CSE 3.1.3.
Note : If Tanzu Kubernetes Grid (TKG) distribution is enabled on CSE 3.0.z, then please consider upgrading to CSE 3.1.3 following these steps.
Refer to CSE 3.1 upgrade command for details.
3.1.2 CSE can be upgraded from version 3.1.1, 3.1.0 and 3.0.z to version 3.1.2 GA. Any CSE release older than CSE 3.0.0 first needs to be upgraded to CSE 3.0.z product line before it can be upgraded to CSE 3.1.2.
Note : If Tanzu Kubernetes Grid (TKG) distribution is enabled on CSE 3.0.z, then the steps mentioned below must be followed in order to upgrade to CSE 3.1.2.
- Evaluate your environment for any stateful applications that run on TKG clusters powered by CSE 3.0.z. If you wish to retain these application’s data, then leverage a Kubernetes application backup/restore strategy to backup the applications data so you can restore it later.
- Remove tkgm from CSE 3.0.z, following these steps
- Upgrade CSE via
cse upgrade
command. - Create new TKG clusters from Ubuntu 20.04 TKG OVAs, using CSE 3.1.2.
- Restore applications on newly created TKG clusters.
Refer to CSE 3.1 upgrade command for details.
3.1.1 CSE can be upgraded from CSE 3.1.0 and CSE 3.0.z to 3.1.1 GA. Any CSE release older than CSE 3.0.0 first needs to be upgraded to CSE 3.0.z product line before it can be upgraded to CSE 3.1.1.
Note : If Tanzu Kubernetes Grid (TKG) distribution is enabled on CSE 3.0.z, then please consider upgrading to CSE 3.1.1 following these steps.
Refer to CSE 3.1 upgrade command for details.
3.1.0 CSE can be upgraded to 3.1.0, only from CSE 3.0.z product line. Any CSE release older than CSE 3.0.0 first needs to be upgraded to CSE 3.0.z product line before it can be upgraded to CSE 3.1.0.
Note : If Tanzu Kubernetes Grid (TKG) distribution is enabled on CSE 3.0.z, then please consider upgrading to CSE 3.1.1 following these steps.
Refer to CSE 3.1 upgrade command for details.
2.2.4 Removal of TKG clusters from CSE 3.0.z
- Delete all deployed TKG clusters across all tenants via
vcd-cli
orKubernetes Container Clusters UI plugin
. - Disable TKG deployment on all Org VDCs via
vcd cse ovdc disable
. - Stop the CSE server.
- Delete all TKG templates via VCD UI.
- Remove the VM Placement Policy
cse---tkgm
from the system via VCD UI or VCD REST api. - Revert CSE configuration file to disable TKG.
2.2.5 Tenant onboarding
The provider needs to perform below operations to enable Kubernetes cluster deployments in tenant organizations and tenant virtual data centers.
- Grant rights to the tenant users. Refer to CSE 3.1 RBAC for more details.
- Enable the desired organization virtual datacenter(s) for Native, TKGs, and/or TKGi deployments.
- Native clusters → Enable VDC for Native clusters.
- TKGs clusters → Publish Kubernetes policy on VDC for TKGs Clusters
- TKGi clusters → Enable VDC for TKGi clusters
- Publish Kubernetes Container Clusters UI plugin to the desired organizations.
2.3 Kubernetes Container Clusters UI plugin
- Kubernetes Container Clusters UI plugin 3.3.0 is available on the VMware Cloud Director 10.3.3 Download page.
- Kubernetes Container Clusters UI plugin 3.2.0 is available out of the box with VCD 10.3.2.
- Kubernetes Container Clusters UI plugin 3.1.0 is available out of the box with VCD 10.3.1.
- Kubernetes Container Clusters UI plugin 3.0.0 is available out of the box with VCD 10.3.0.
Provider can publish it to the desired tenants to offer Kubernetes services. Refer to publish Kubernetes Container Clusters UI plugin. For VCD 10.2.z that inter-operates with CSE 3.1.z, Provider must use the Kubernetes Container Clusters UI plugin 2.y.z that comes with VCD to offer Kubernetes Services. For VCD versions prior to 10.2 that inter-operate with CSE 3.1.z, Kubernetes Container Clusters UI plugin 1.0.3 must be installed separately by Provider and published to the desired tenants. Refer to Register CSE UI plugin 1.0.3 for more details.
3. Tenant workflows
Tenant users can manage the Kubernetes cluster deployments either through CSE CLI or Kubernetes Container Clusters UI plugin
3.1 CLI for Container Extension
CSE 3.1.0 introduces below changes in CLI
- Cluster upgrades (Native and vSphere with Tanzu) can now be performed using
vcd cse cluster apply <upgrade_cluster.yaml>
. Refer to cluster apply usage for more details. - Clusters can be shared to other users using new
vcd cse cluster share
command. Refer to cluster share usage
3.2 Kubernetes Container Clusters UI plugin
- For VCD 10.3.z, you must use the Kubernetes Container Clusters UI plugin 3.y.0 that comes with VCD to manage the cluster deployments.
- If using CSE 3.1.3 with VCD 10.3.1+, you must use Kubernetes Container Clusters UI plugin 3.3.0, which must be downloaded from VMware Cloud Director 10.3.3 Download page and installed into VCD 10.3.1+.
-
For VCD 10.2.z, you must use the Kubernetes Container Clusters UI plugin 2.y.0 that comes with VCD to manage the cluster deployments.
- If you are working with VCD versions prior to 10.2, you must use the Kubernetes Container Clusters UI plugin 1.0.3 to manage the cluster deployments.
4. FAQ
Refer to Troubleshooting and Known issues pages.