Merge pull request #106279 from oomichi/add-note-vsphere

Add note for the deprecated vSphere 6.5
This commit is contained in:
Kubernetes Prow Robot 2022-02-10 08:21:47 -08:00 committed by GitHub
commit edd1f15c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,6 +223,10 @@ func (connection *VSphereConnection) NewClient(ctx context.Context) (*vim25.Clie
klog.Errorf("failed to check if vCenter version:%v and api version: %s is deprecated. Error: %v", client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion, err)
}
if vcdeprecated {
// After this deprecation, vSphere 6.5 support period is extended to October 15, 2022 as
// https://blogs.vmware.com/vsphere/2021/03/announcing-limited-extension-of-vmware-vsphere-6-5-general-support-period.html
// In addition, the external vSphere cloud provider does not support vSphere 6.5.
// Please keep vSphere 6.5 support til the period.
klog.Warningf("vCenter is deprecated. version: %s, api verson: %s Please consider upgrading vCenter and ESXi servers to 6.7u3 or higher", client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion)
}
return client, nil