Skip to content

Commit 04aaa56

Browse files
[UI] Minor edits of UI captions
1 parent 983534c commit 04aaa56

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

frontend/src/locale/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,14 +625,14 @@
625625
"name_placeholder": "Optional",
626626
"name_constraint": "Example: 'my-fleet' or 'default'. If not specified, generated automatically.",
627627
"min_instances": "Min number of instances",
628-
"min_instances_description": "Set it `0` to provision instances only when required",
628+
"min_instances_description": "Set it '0' to provision instances only when required",
629629
"max_instances": "Max number of instances",
630630
"max_instances_description": "Required only if you want to set an upper limit",
631631
"max_instances_placeholder": "Optional",
632632
"idle_duration": "Idle duration",
633633
"idle_duration_description": "Example: '0s', '1m', '1h'",
634634
"spot_policy": "Spot policy",
635-
"spot_policy_description": "Select spot policy"
635+
"spot_policy_description": "Set it to 'auto' to allow the use of both on-demand and spot instances"
636636
}
637637
},
638638
"volume": {

frontend/src/pages/Fleets/Add/FleetFormFields/constants.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,18 @@ export const FLEET_SPOT_POLICY_INFO = {
9090
header: <h2>Spot policy</h2>,
9191
body: (
9292
<>
93-
<p>Spot policy</p>
93+
<p>
94+
Some backends may support spot instances, also known as preemptive instances. Such instances come at a
95+
significantly lower price but can be interrupted by the cloud provider at any time.
96+
</p>
97+
<p>
98+
If you set <code>spot_policy</code> to <code>auto</code>, the fleet will allow the use of both types of
99+
instances: <code>on-demand</code> and <code>spot</code>.
100+
</p>
101+
<p>
102+
Note that run configurations must specify their own <code>spot_policy</code>, which by default is always{' '}
103+
<code>on-demand</code>.
104+
</p>
94105
</>
95106
),
96107
};

0 commit comments

Comments
 (0)