Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/resources/cluster_eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ description: |-

Resource for managing EKS clusters in Spectro Cloud through Palette.

~> When creating a **Palette EKS cluster** with `machine_pool.eks_launch_template`: If you do **not set** `machine_pool.eks_launch_template.ami_id`, Palette will automatically perform **EKS AMI updates**. This will trigger a **cluster repave**, since the system replaces the underlying AMI as part of the update process. To avoid unexpected repaves, explicitly set the `ami_id` in the launch template when defining the `machine_pool`.


## Example Usage

```terraform
Expand Down Expand Up @@ -199,7 +202,7 @@ Optional:
Optional:

- `additional_security_groups` (Set of String) Additional security groups to attach to the instance.
- `ami_id` (String) The ID of the custom Amazon Machine Image (AMI).
- `ami_id` (String) The ID of the custom Amazon Machine Image (AMI). If you do not set an `ami_id`, Palette will repave the cluster when it automatically updates the EKS AMI.
- `root_volume_iops` (Number) The number of input/output operations per second (IOPS) for the root volume.
- `root_volume_throughput` (Number) The throughput of the root volume in MiB/s.
- `root_volume_type` (String) The type of the root volume.
Expand Down
2 changes: 1 addition & 1 deletion spectrocloud/schemas/eks_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func AwsLaunchTemplate() *schema.Schema {
"ami_id": {
Type: schema.TypeString,
Optional: true,
Description: "The ID of the custom Amazon Machine Image (AMI).",
Description: "The ID of the custom Amazon Machine Image (AMI). If you do not set an `ami_id`, Palette will repave the cluster when it automatically updates the EKS AMI.",
},
"root_volume_type": {
Type: schema.TypeString,
Expand Down
3 changes: 3 additions & 0 deletions templates/resources/cluster_eks.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ description: |-

{{ .Description | plainmarkdown | trimspace | prefixlines " " }}

~> When creating a **Palette EKS cluster** with `machine_pool.eks_launch_template`: If you do **not set** `machine_pool.eks_launch_template.ami_id`, Palette will automatically perform **EKS AMI updates**. This will trigger a **cluster repave**, since the system replaces the underlying AMI as part of the update process. To avoid unexpected repaves, explicitly set the `ami_id` in the launch template when defining the `machine_pool`.


## Example Usage

```terraform
Expand Down