Skip to content

Commit

Permalink
fix(ocean/aws): modified description in documentation for `spot_perce…
Browse files Browse the repository at this point in the history
…ntage` (spotinst#444)
  • Loading branch information
chandra1-n authored Jul 11, 2023
1 parent c6bcc45 commit ea22d15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Unreleased

## 1.125.1 (July 11, 2023)
NOTES:
* documentation: Modified description of `spot_percentage` in documentation for `spotinst_ocean_aws` and `spotinst_ocean_aws_launch_spec`

## 1.125.0 (Jun 30, 2023)
ENHANCEMENTS:
* resource/spotinst_stateful_node_azure: Added `user_data` field in `launch_spec` object
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/ocean_aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ The following arguments are supported:
* `utilize_reserved_instances` - (Optional, Default `true`) If Reserved instances exist, Ocean will utilize them before launching Spot instances.
* `draining_timeout` - (Optional) The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
* `grace_period` - (Optional, Default: 600) The amount of time, in seconds, after the instance has launched to start checking its health.
* `spot_percentage` - (Optional; Required if not using `ondemand_count`) The percentage of Spot instances that would spin up from the `desired_capacity` number.
* `spot_percentage` - (Optional) The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
* `utilize_commitments` - (Optional, Default false) If savings plans exist, Ocean will utilize them before launching Spot instances.
* `spread_nodes_by` - (Optional, Default: `count`) Ocean will spread the nodes across markets by this value. Possible values: `vcpu` or `count`.
* `instance_metadata_options` - (Optional) Ocean instance metadata options object for IMDSv2.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/ocean_aws_launch_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ The following arguments are supported:
* `max_instance_count` - (Optional) Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
* `min_instance_count` - (Optional) Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
* `strategy` - (Optional)
* `spot_percentage` - (Optional; if not using `spot_percentege` under `ocean strategy`) When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
* `spot_percentage` - (Optional) The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
* `create_options` - (Optional)
* `initial_nodes` - (Optional) When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst_ocean_aws resource) is set to true during Ocean resource creation.
* `delete_options` - (Optional)
Expand Down

0 comments on commit ea22d15

Please sign in to comment.