Browse Source

Merge pull request #791 from kubernetes-incubator/premptilble_gce_vm

Use preemptible instances
pull/787/head
Bogdan Dobrelya 8 years ago
committed by GitHub
parent
commit
ed4b4b8482
2 changed files with 3 additions and 1 deletions
  1. 3
      tests/cloud_playbooks/create-gce.yml
  2. 1
      tests/cloud_playbooks/delete-gce.yml

3
tests/cloud_playbooks/create-gce.yml

@ -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)}}"

1
tests/cloud_playbooks/delete-gce.yml

@ -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)}}"

Loading…
Cancel
Save