kubernikus
kubernikus copied to clipboard
Improve server listing performance
Instead of listing all servers of a project we use a name filter with the regex ^(kks-?)$KLUSTERNAME-$POOLNAME for the name attribute.
In addition we also process the pages individually when filtering through the returned servers.
This should avoid listing thousands of servers from s4 projects on a constant basis.
CAREFUL: This needs extra special testing and careful review. If the listing is somehow filtering out valid kubernikus nodes launchctl will spawn new servers until the quota is exceeded.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.