Learn how to update your Supervisors, including the Kubernetes version that the Supervisors are running. The Supervisors in your environment must always run a supported Kubernetes version.
There is a version entity for vSphere IaaS control plane. The version entity is a semantic version string in the form v1.28.3+vmware.wcp.1-vsc0.1.9-23708114
, where the prefix is the Kubernetes version (v1.28.3
) and the suffix is the Supervisor release version released with the corresponding vCenter Server version and build number. (vvsc0.1.9-23708114
).
When you upgrade vCenter Server to a new version, the vSphere Namespaces version is also updated. Each vSphere Namespaces version contains a new Supervisor version and two earlier supported versions.
v1.26.8+vmware.wcp.1-vsc0.1.9-23708114
v1.27.5+vmware.wcp.1-vsc0.1.9-23708114
v1.28.3+vmware.wcp.1-vsc0.1.9-23708114
Prerequisites
- Check the supported Kubernetes versions for the Supervisor in the vSphere IaaS control plane release notes. Each vCenter Server release contains three Kubernetes versions for the Supervisor - the most recent Kubernetes version for theSupervisor released with the corresponding vCenter Server version, and two previous versions, which are supported for at least 12 months.
- Install the currently supported Kubernetes versions for the Supervisor by upgrading the vCenter Server appliance to the vCenter Server version that provides them. See Upgrading the vCenter Server Appliance.
Procedure
What are Supervisor Update Pre-checks and How to Troubleshoot Them
Learn which are the pre-checks that are run before updating the Supervisor and how to troubleshoot in case of errors resulting from failed pre-checks.
The Supervisor and the workloads that it runs interact with multiple vSphere resources (storage, memory, CPU, and network) running on different layers of vSphere. As a vSphere administrator, when you initiate a Supervisor update, the system runs pre-checks to verify that workload compatibility and resource requirements are met. These pre-checks include health checks, resource checks, and dependency checks on different software components to ensure that a successful Supervisor update is possible.
Supervisor Update Pre-checks and Troubleshooting Errors
Pre-check | Description | Error | Troubleshooting |
---|---|---|---|
Datastore requirement verified | Checks if the datastore has enough resource to create the Supervisor control plane VMs. | Not enough free space on chosen datastore to deploy one more Supervisor CPVM. Need at least <value>. | Reclaim the unused space from the configured datastores for Supervisor control plane VMs or add additional datastores to the control plane storage policy. |
Supervisor Control Plane VMs health verified | Checks if the health of the target Supervisor control plane VM is good enough. | Cluster <Supervisor> is unhealthy: <error message> | Depending on the reported error, follow the resolutions at Resolving Errors Health Statuses on a Supervisor Control Plane VMs During Activation Or Update |
Etcd cluster health verified | Check if the etcd cluster of the current Supervisor has a good health status | Etcd members are not healthy during cluster upgrade pre-check. | Follow the steps in Tanzu Kubernetes Cluster Upgrade Stuck - EtcdMemberHealthy condition is unknown |
Network compatibility verified | Checks if the NSX version is compatible with NSX Container Plug-in (NCP) version. | NSX version <version> is not compatible with NCP version <version>. Please choose NSX version from compatible list <list> but not in incompatible list <list>. | Make sure that the NSX and NCP versions are compatible. |
Workload cluster(s) compatibility verified | Checks if running TKG clusters are going to be incompatible after upgrade | Proposed upgrade to Namespaces cluster <Supervisor> is incompatible with one or more Tanzu Kubernetes cluster(s)
Note: The error message for TKG clusters differ in format based on the source
Supervisor from which the upgrade is performed.
BD |
Update the TKr version of the incompatible TKG clusters to a version that is compatible with the new Kubernetes version of the Supervisor. See . This pre-check only occurs only during the first Supervisor update in vSphere 8 Update 3. |
Supervisor Service compatibility verified | Checks if the versions of the installed Supervisor Services are compatible with the target Supervisor Kubernetes version. | The incoming Supervisor requires the Supervisor Service <service name> version <number> but the installed Service is on version <number>. Upgrading the Supervisor will make the installed service incompatible. The Supervisor Service <service name> version <number> requires Supervisor release version <number> but the Supervisor will be on version <number>. Upgrading the Supervisor will make the installed service incompatible. |
Update the versions of the incompatible Supervisor Services. |
Resolving Errors Health Statuses on a Supervisor Control Plane VMs During Activation Or Update
After you activate a Supervisor, update the Supervisor Kubernetes version, or edit the settings of an existing Supervisor, all the settings that you have specified are validated and applied to the Supervisor until the configuration completes. Health checks are performed on the entered parameters that might detect errors in the configuration resulting in an error health status of the Supervisor. You must resolve these error health statuses so that the configuration or update of the Supervisor is possible.
Error Message |
Cause |
Solution |
---|---|---|
Unable to resolve the vCenter Primary Network Identifier <FQDN> with the configured management DNS server(s) on control plane VM <VM name>. Validate that the management DNS servers <server name> can resolve <network name>. |
|
|
Unable to resolve the vCenter Primary Network Identifier <network name> with the DNS server(s) acquired via DHCP on the management network of the control plane VM <VM name>. Validate that the management DNS servers can resolve <network name>. |
|
|
Unable to resolve the host <host name> on control plane VM <VM name> , as there are no configured management DNS servers. |
|
Configure a management DNS server. |
Unable to resolve the host <host name> on control plane VM <VM name>. The hostname ends with the '.local' top level domain, which requires 'local' to be included in the management DNS search domains. |
The vCenter Server PNID contains .local as a top-level domain (TLD), but the configured search domains do not includelocal. |
Add local to the management DNS search domains. |
Unable to connect to the management DNS servers <server name> from control plane VM <VM name>. The connection was attempted over the workload network. |
|
|
Unable to connect to the management DNS servers <server name> from the control plane VM <VM name>. |
Unable to connect to the DNS servers. |
|
Unable to connect to <component name> <component address> from control plane VM <vm name>. Error: error message text |
|
|
The control plane VM <VM name> was unable to validate the vCenter <vCenter Server name> certificate. The vCenter server certificate is invalid. |
The certificate provided byvCenter Server is in invalid format, and therefore is untrusted. |
|
The control plane VM <VM name> does not trust the vCenter <vCenter Server name>certificate. |
|
|
The control plane VM <VM name> was unable to validate the NSX Server<NSX server name> certificate. The thumbprint returned by the server <NSX-T address> doesn't match the expected client certificate thumbprint registered in vCenter <vCenter Server name> |
The SSL thumbprints registered to the Supervisor don't match the SHA-1 hash of the certificate presented by the NSX manager. |
|
Unable to connect to <component name> <component address> from control plane VM <vm name>. Error: error message text |
A generic network failure occurred. |
|
The control plane VM <vm name> does not trust the load balancer's (<load balancer>- <load balancer endpoint>) certificate. |
The certificate the load balancer presents is different from the certificate that is configured to the control plane VMs. |
Verify that you have configured the correct Management TLS certificate to the load balancer. |
The control plane VM <vm name> was unable to validate the load balancer's (<load balancer>- <load balancer endpoint> certificate. The certificate is invalid. |
The certificate the load balancer presents is in an invalid format, or expired. |
Correct the server certificate of the configured load balancer. |
The control plane VM <vm name> was unable to authenticate to the load balancer (<load balancer>- <load balancer endpoint> with the username <user name> and the supplied password. |
The user name or password of the load balancer are incorrect. |
Verify the if the user name and password configured to the load balancer are correct. |
An HTTP error occurred when attempting to connect to the load balancer (<load balancer>- <load balancer endpoint> from the control plane VM <vm name>. |
The control plane VMs can connect to the load balancer endpoint, but the endpoint does not return a successful (200) http response |
Verify that the load balancer is healthy and accepting requests. |
Unable to connect to <load balancer> (<load balancer endpoint>) from control plane VM <vm name>. Error: <error text> |
|
|