[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for changelog and subsystem label(s) applied
As #223 describes, sometimes the kubernetes API can be unresponsive, we've typically only seen this an Azure clusters, and it prevents the controller from reconciling or updating builds properly.
This adds a function to the controller that now when a new build is received, it will check the namespace for running builds, and then attempt to determine if there is a pod associated to that running build or not and then attempt to update the resource and update Lagoon with the change.
Checklist
As #223 describes, sometimes the kubernetes API can be unresponsive, we've typically only seen this an Azure clusters, and it prevents the controller from reconciling or updating builds properly.
This adds a function to the controller that now when a new build is received, it will check the namespace for running builds, and then attempt to determine if there is a pod associated to that running build or not and then attempt to update the resource and update Lagoon with the change.
Closing issues
closes #223 closes #160