mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Merge pull request #791 from kubernetes-incubator/premptilble_gce_vm
Use preemptible instances
This commit is contained in:
@@ -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)}}"
|
||||
|
||||
@@ -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)}}"
|
||||
|
||||
Reference in New Issue
Block a user