Merge pull request #791 from kubernetes-incubator/premptilble_gce_vm

Use preemptible instances
This commit is contained in:
Bogdan Dobrelya 2016-12-22 11:00:08 +01:00 committed by GitHub
commit ed4b4b8482
2 changed files with 3 additions and 1 deletions

View file

@ -3,7 +3,7 @@
become: false
gather_facts: no
vars:
cloud_machine_type: g1-small
cloud_machine_type: n1-standard-1
mode: default
tasks:
@ -24,6 +24,7 @@
instance_names: "{{instance_names}}"
machine_type: "{{ cloud_machine_type }}"
image: "{{ cloud_image }}"
preemptible: yes
service_account_email: "{{ gce_service_account_email }}"
pem_file: "{{ gce_pem_file | default(omit)}}"
credentials_file: "{{gce_credentials_file | default(omit)}}"

View file

@ -23,6 +23,7 @@
gce:
instance_names: "{{instance_names}}"
machine_type: "{{ cloud_machine_type }}"
preemptible: yes
image: "{{ cloud_image }}"
service_account_email: "{{ gce_service_account_email }}"
pem_file: "{{ gce_pem_file | default(omit)}}"