From d981551a26c43fa44cdef53c54cc06c0df35e167 Mon Sep 17 00:00:00 2001 From: Viktoras Makauskas Date: Mon, 19 Feb 2024 20:07:14 +0200 Subject: [PATCH] wip --- docs/resources/node_template.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/resources/node_template.md b/docs/resources/node_template.md index e91ce337..ac86b1d7 100644 --- a/docs/resources/node_template.md +++ b/docs/resources/node_template.md @@ -45,6 +45,7 @@ Optional: - `architectures` (List of String) List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64. - `compute_optimized` (Boolean) Compute optimized instance constraint - will only pick compute optimized nodes if true. +- `custom_priority` (Block List) (see [below for nested schema](#nestedblock--constraints--custom_priority)) - `enable_spot_diversity` (Boolean) Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types. - `fallback_restore_rate_seconds` (Number) Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot. - `gpu` (Block List, Max: 1) (see [below for nested schema](#nestedblock--constraints--gpu)) @@ -63,6 +64,16 @@ Optional: - `storage_optimized` (Boolean) Storage optimized instance constraint - will only pick storage optimized nodes if true - `use_spot_fallbacks` (Boolean) Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable. + +### Nested Schema for `constraints.custom_priority` + +Optional: + +- `instance_families` (List of String) Instance families to prioritize in this tier. +- `on_demand` (Boolean) If true, this tier will apply to on-demand instances. +- `spot` (Boolean) If true, this tier will apply to spot instances. + + ### Nested Schema for `constraints.gpu`