-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hetzner Cloud Plugin creates more servers than instance cap #85
Comments
Hi, thank you for a bug report. So if you have scenario where you expect burst usage, then maybe use agent with more executors - then only 1 VM is allocated, capable of handling multiple builds. |
Thank you for the prompt response! Unfortunately, we cannot increase the number of executors on a VM, as we need to keep builds (and tests) completely isolated. Additionally, we have other build jobs that run regularly and trigger numerous other builds. If we move these to the Hetzner Cloud, I'm concerned that this could lead to the creation of more VMs than our instance cap allows whenever the cron job schedules them (which happens several times daily). This could potentially result in significant additional costs, or at the very least, make it really difficult to manage and reason about. I suggest mentioning this behavior in the documentation. It could help others avoid confusion and it might also save hours of debugging for others. The current documentation says this:
Having this issue is quite surprising for us after this documentation. Our current workaround is to limit the available primary IPs to 2 in the Hetzner Cloud Console. This currently ensures that the plugin receives an error message if it tries to create more than two instances. |
Related: #85 Signed-off-by: Richard Kosegi <richard.kosegi@gmail.com>
Related: #85 Signed-off-by: Richard Kosegi <richard.kosegi@gmail.com>
Jenkins and plugins versions report
Environment
Jenkins: 2.452.2 OS: Linux - 5.4.0-186-generic Java: 11.0.23 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 22.04
Reproduction steps
Expected Results
The plugin creates two server instances.
Actual Results
The plugin creates six server instances.
Anything else?
Jenkins log:
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: