mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 19:36:22 +00:00
Automatic merge from submit-queue (batch tested with PRs 42452, 43399) Modify getInstanceByName to avoid calling getInstancesByNames This PR modify getInstanceByname to loop through all management zones directly instead of calling getInstancesByNames. Currently getInstancesByNames use a node name prefix as a filter to list the instances. If the prefix does not match, it will return all instances which is very wasteful since getInstanceByName only query one instance with a specific name. Partially fix issue #42445