h2. Configuration
-To use preemptible instances, set @UsePreemptibleInstances: true@ and add entries to @InstanceTypes@ with @Preemptible: true@ to @config.yml@. 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@. 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:
# 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
# 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