-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
gce: support preemptible instances #31606
Comments
@jparal, thanks for reporting. I think this is something that we can support. |
+1 |
+1 It appears that the kwargs dictionary in the gce client is simply not bringing in the 'ex_preemptible' setting. It could be as simple as extending this, though how to test it properly escapes me at the moment. |
Just quickly patched this in to gce.py and tested working okay:
Together with the option in the cloud-profile
User test results after creating one with "preemptible: true" and one without preemptible set as an option:
Looks like it will require libcloud > 0.20.0: https://libcloud.readthedocs.io/en/latest/changelog.html#id31 |
…le_gce Added preemptible flag to gce.py - see issue #31606
* upstream/develop: Remove trailing whitespace Added preemptible flag to gce.py - see issue saltstack#31606 Various improvements for the hipchat engine Move to getfullargspec() for py3 in vsphere module Add changes to raetkey add note related to issue saltstack#37027 network.ifacestartswith throws exception on Solaris-like platforms Fix saltstack#38595 - Unexpected error log from redis retuner in master's log pillar.get: Raise exception when merge=True and default is not a dict Avoid errors when sudo_user is set State Gem: fix incorrect warning about missing rvm/rbenv Change daemontools __virtualname__ from service to daemontools Create queue if one doesn't exist Add hash_type argument to MultiKeyCLI.finger_all function Add hash_type argument to key module fingerprint functions Add hash_type argument to wheel fingerprint functions Add finger_master function to wheel.key module Fix eauth error with openLDAP/389 directory server groups
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. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
it seems that libcloud supports preemptible instances on GCE using ex_preemptible argument:
http://libcloud.readthedocs.org/en/latest/compute/drivers/gce.html
any plans on supporting this in salt-cloud?
thx
The text was updated successfully, but these errors were encountered: