forked from oap-project/cloudtik
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc for configuration spot instances (oap-project#638)
* Add documentation for configuring spot instances * Add quick guide as to the cluster key in quick start * Add instruction to genetate ssh key pair
- Loading branch information
1 parent
0559afd
commit 976b740
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
docs/source/UserGuide/AdvancedTasks/configuring-spot-instances.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Configuring Spot Instances | ||
Cloud providers usually provide user an option to create spot instances. | ||
Spot Instances are available at a discount compared to On-Demand prices. Cloud provider may terminate a spot instance without notification due to capacity reasons. | ||
You can use Spot Instances for various stateless, fault-tolerant, or flexible applications such as big data, containerized workloads, CI/CD, web servers, high-performance computing (HPC), and test & development workloads. | ||
|
||
By default, CloudTik head node will be created with non-spot instance. | ||
And prefers spot instances for worker nodes. | ||
You can override worker node preference on spot instances or non-spot instances. | ||
|
||
## Disable spot instance for worker nodes | ||
If you want to disable spot instance for worker node, you can set prefer_spot_instance to false | ||
under the provider section. For example, | ||
|
||
```buildoutcfg | ||
provider: | ||
prefer_spot_instance: false | ||
``` | ||
|
||
## Prefer spot instance for worker nodes | ||
If you want to explicitly prefer spot instance for worker node, you can set prefer_spot_instance to true | ||
under the provider section. For example, | ||
|
||
```buildoutcfg | ||
provider: | ||
prefer_spot_instance: true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters