Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 3.86 KB

File metadata and controls

50 lines (39 loc) · 3.86 KB

Requirements

Name Version
terraform >= 1.0
aws ~> 5.0
kubernetes ~> 2.0

Providers

No providers.

Modules

Name Source Version
node_group terraform-aws-modules/eks/aws//modules/eks-managed-node-group ~> 20.0

Resources

No resources.

Inputs

Name Description Type Default Required
ami_type AMI type for the node group. string "BOTTLEROCKET_ARM_64" no
capacity_type Capacity type for worker nodes (ON_DEMAND or SPOT). string "ON_DEMAND" no
cluster_name Name of the EKS cluster to attach the node group to. string n/a yes
cluster_primary_security_group_id The ID of the primary security group for the cluster string n/a yes
cluster_service_cidr The CIDR block for the cluster service string n/a yes
desired_size Desired number of worker nodes. number 1 no
disk_setup_image Docker image for the disk setup script string "docker.io/materialize/ephemeral-storage-setup-image:v0.4.0" no
iam_role_use_name_prefix Use name prefix for IAM roles bool true no
instance_types Instance types for worker nodes.

Recommended Configuration:
- For other workloads: r7g, r6g families (ARM-based Graviton, without local disks)
- For materialize instance workloads: r6gd, r7gd families (ARM-based Graviton, with local NVMe disks)
- Enable disk setup when using instance types with local storage
list(string) n/a yes
labels Labels to apply to the node group. map(string) {} no
max_size Maximum number of worker nodes. number 4 no
min_size Minimum number of worker nodes. number 1 no
node_group_name Name of the node group. string n/a yes
node_taints Taints to apply to the node group.
list(object({
key = string
value = string
effect = string
}))
[] no
subnet_ids List of subnet IDs for the node group. list(string) n/a yes
swap_enabled Whether to enable swap on the local NVMe disks. bool true no
tags Tags to apply to all resources map(string) {} no

Outputs

Name Description
node_group_arn ARN of the EKS managed node group.
node_group_id ID of the EKS managed node group.