-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
effort/2dEffort for issue is around 2 daysEffort for issue is around 2 dayskind/enhancementEnhancement, improvement, extensionEnhancement, improvement, extensionlifecycle/rottenNobody worked on this for 12 months (final aging stage)Nobody worked on this for 12 months (final aging stage)platform/openstackOpenStack platform/infrastructureOpenStack platform/infrastructure
Description
At the moment Gardener nodes are detected by listing all the servers in the project, then the servers list is filtered at the MCM side:
https://github.com/gardener/machine-controller-manager/blob/86b72854549fa6cbe6c6a8c1c5ec727f164f07f3/pkg/driver/driver_openstack.go#L286
OpenStack Nova supports tags, and tags can be used to efficiently filter compute nodes, see https://github.com/gophercloud/gophercloud/blob/193120096e295dd6fe47e5e047e5fe1a5b231e54/openstack/compute/v2/servers/requests.go#L59..L74
Filtering by tags is more efficient and it can reduce the load on the nova API side.
Metadata
Metadata
Assignees
Labels
effort/2dEffort for issue is around 2 daysEffort for issue is around 2 dayskind/enhancementEnhancement, improvement, extensionEnhancement, improvement, extensionlifecycle/rottenNobody worked on this for 12 months (final aging stage)Nobody worked on this for 12 months (final aging stage)platform/openstackOpenStack platform/infrastructureOpenStack platform/infrastructure