Running Jenkins 2.4 on GKE. We use Dynamic agents provisioned on google cloud as builds agents.
Recently, we are noticing intermittent issues with Jenkins build agents and the agent machines are getting deleted causing Builds to get stuck, waiting for that deleted agent to be available.
All builds are One-shot builds, with a node rentention time of 3 minutes and a Launch timeout of 2 minutes. Is there a chance that DURING the build process, the agent is idle for 3 mins and it gets deleted? How do I troubleshoot ? All I get is the Google audit log says Instance is deleted .