kubernikus icon indicating copy to clipboard operation
kubernikus copied to clipboard

Improve server listing performance

Open databus23 opened this issue 4 years ago • 1 comments

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.

databus23 avatar Aug 09 '21 11:08 databus23

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.

stale[bot] avatar Jan 09 '22 00:01 stale[bot]