mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-07 09:50:39 +00:00
Automatic merge from submit-queue (batch tested with PRs 57511, 57978). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Renews cached NodeInfo with new vSphere connection **What this PR does / why we need it**: This PR modifies two public functions of nodemanager.go- GetNodeInfo and GetNodeDetails. For both these functions NodeInfo object is renewed with new GoVmomiClient and new vclib VirtualMachine and Datacenter. **Which issue(s) this PR fixes** : Fixes vmware#404 **Special notes for your reviewer**: Code has been structured to minimize impact on existing 1.9 release code and any side-effects due to NodeInfo modification. This is a quick solution for vSphere connection renewal problem. A more enhanced solution is target for upcoming major release. Testing: - [x] Successfully tried out pod creation, deletion with dynamic volume. - [x] Successfully ran e2e tests. **Release note**: ```release-note Fixes authentication problem faced during various vSphere operations. ```