[ARVADOS] updated: 2.1.0-1743-gf4bd850b5

Git user git at public.arvados.org
Thu Dec 23 21:51:35 UTC 2021


Summary of changes:
 doc/admin/spot-instances.html.textile.liquid |  2 +-
 lib/config/config.default.yml                | 10 +++++++++-
 lib/config/generated_config.go               | 10 +++++++++-
 3 files changed, 19 insertions(+), 3 deletions(-)

       via  f4bd850b58cf8977960e3d18ced17fa1dd842747 (commit)
      from  534b7df510b99923a7dc273a2f8cacfd0c599800 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f4bd850b58cf8977960e3d18ced17fa1dd842747
Author: Tom Clegg <tom at curii.com>
Date:   Thu Dec 23 16:51:06 2021 -0500

    18562: Update doc and config comments for UsePreemptibleInstances.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/doc/admin/spot-instances.html.textile.liquid b/doc/admin/spot-instances.html.textile.liquid
index 07b721502..5d4b67741 100644
--- a/doc/admin/spot-instances.html.textile.liquid
+++ b/doc/admin/spot-instances.html.textile.liquid
@@ -16,7 +16,7 @@ Currently Arvados supports preemptible instances using AWS and Azure spot instan
 
 h2. Configuration
 
-To use preemptible instances, set @UsePreemptibleInstances: true@ and add entries to @InstanceTypes@ with @Preemptible: true@ to @config.yml at .  Typically you want to add both preemptible and non-preemptible entries for each cloud provider VM type.  The @Price@ for preemptible instances is the maximum bid price, the actual price paid is dynamic and will likely be lower.  For example:
+To use preemptible instances, ensure they are not disabled in your configuration file (they are enabled by default, but can be disabled with @UsePreemptibleInstances: false@), and add entries to @InstanceTypes@ that have @Preemptible: true at .  Typically you want to add both preemptible and non-preemptible entries for each cloud provider VM type.  The @Price@ for preemptible instances is the maximum bid price, the actual price paid is dynamic and will likely be lower.  For example:
 
 <pre>
 Clusters:
diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml
index 98437e775..87d38ffe4 100644
--- a/lib/config/config.default.yml
+++ b/lib/config/config.default.yml
@@ -902,8 +902,16 @@ Clusters:
       # Schedule all child containers on preemptible instances (e.g. AWS
       # Spot Instances) even if not requested by the submitter.
       #
+      # If false, containers are scheduled on preemptible instances
+      # only when requested by the submitter.
+      #
+      # Note that arvados-cwl-runner does not currently offer a
+      # feature to request preemptible instances, so this value
+      # effectively acts as a cluster-wide decision about whether to
+      # use preemptible instances.
+      #
       # This flag is ignored if no preemptible instance types are
-      # configured.
+      # configured, and has no effect on top-level containers.
       UsePreemptibleInstances: true
 
       # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the
diff --git a/lib/config/generated_config.go b/lib/config/generated_config.go
index 751df894e..4187717f8 100644
--- a/lib/config/generated_config.go
+++ b/lib/config/generated_config.go
@@ -908,8 +908,16 @@ Clusters:
       # Schedule all child containers on preemptible instances (e.g. AWS
       # Spot Instances) even if not requested by the submitter.
       #
+      # If false, containers are scheduled on preemptible instances
+      # only when requested by the submitter.
+      #
+      # Note that arvados-cwl-runner does not currently offer a
+      # feature to request preemptible instances, so this value
+      # effectively acts as a cluster-wide decision about whether to
+      # use preemptible instances.
+      #
       # This flag is ignored if no preemptible instance types are
-      # configured.
+      # configured, and has no effect on top-level containers.
       UsePreemptibleInstances: true
 
       # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list