Default Linode instance to nanode-1 — standard-2 was 4x the cost for no gain
This commit is contained in:
@@ -339,7 +339,7 @@ def gather_webrunner_parameters() -> dict | None:
|
|||||||
|
|
||||||
# Apply per-provider instance defaults if not set by gather_provider_config
|
# Apply per-provider instance defaults if not set by gather_provider_config
|
||||||
if 'linode_instance_type' not in config:
|
if 'linode_instance_type' not in config:
|
||||||
config['linode_instance_type'] = DEFAULT_INSTANCE.get('linode', 'g6-standard-2')
|
config['linode_instance_type'] = DEFAULT_INSTANCE.get('linode', 'g6-nanode-1')
|
||||||
if 'aws_instance_type' not in config:
|
if 'aws_instance_type' not in config:
|
||||||
config['aws_instance_type'] = DEFAULT_INSTANCE.get('aws', 't3.small')
|
config['aws_instance_type'] = DEFAULT_INSTANCE.get('aws', 't3.small')
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
body_format: json
|
body_format: json
|
||||||
body:
|
body:
|
||||||
label: "{{ item.node_name }}"
|
label: "{{ item.node_name }}"
|
||||||
type: "{{ linode_instance_type | default('g6-standard-2') }}"
|
type: "{{ linode_instance_type | default('g6-nanode-1') }}"
|
||||||
region: "{{ linode_region | default('us-east') }}"
|
region: "{{ linode_region | default('us-east') }}"
|
||||||
image: "linode/debian12"
|
image: "linode/debian12"
|
||||||
root_pass: "{{ wr_root_pass }}"
|
root_pass: "{{ wr_root_pass }}"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ PRESETS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_INSTANCE = {
|
DEFAULT_INSTANCE = {
|
||||||
'linode': 'g6-standard-2',
|
'linode': 'g6-nanode-1',
|
||||||
'aws': 't3.small',
|
'aws': 't3.small',
|
||||||
'flokinet': 'vps-2',
|
'flokinet': 'vps-2',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user