uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

Clean up `LagoonBuild` resources periodically #55

Closed shreddedbacon closed 3 years ago

shreddedbacon commented 3 years ago

Leave a few around, perhaps 10, but clean up all the others.

This is to allow the controller to start up faster.

Schnitzel commented 3 years ago

this starts to be a bigger issue on big clusters as the cluster backup tries to backup gigabytes of left over LagoonBuild objects. Therefore would be great if we can speed this up :)

shreddedbacon commented 3 years ago

Merged PR that includes this for LagoonBuild and LagoonTask resources, pending release