Merge pull request #791 from kubernetes-incubator/premptilble_gce_vm

Use preemptible instances
pull/787/head
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 become: false
gather_facts: no gather_facts: no
vars: vars:
cloud_machine_type: g1-small cloud_machine_type: n1-standard-1
mode: default mode: default
tasks: tasks:
@ -24,6 +24,7 @@
instance_names: "{{instance_names}}" instance_names: "{{instance_names}}"
machine_type: "{{ cloud_machine_type }}" machine_type: "{{ cloud_machine_type }}"
image: "{{ cloud_image }}" image: "{{ cloud_image }}"
preemptible: yes
service_account_email: "{{ gce_service_account_email }}" service_account_email: "{{ gce_service_account_email }}"
pem_file: "{{ gce_pem_file | default(omit)}}" pem_file: "{{ gce_pem_file | default(omit)}}"
credentials_file: "{{gce_credentials_file | default(omit)}}" credentials_file: "{{gce_credentials_file | default(omit)}}"

View File

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