Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Requirements

Name Version
terraform >= 1.8
aws ~> 5.0
deepmerge ~> 1.0
helm ~> 2.0
kubectl ~> 2.0
kubernetes ~> 2.0
random ~> 3.0

Providers

Name Version
kubectl ~> 2.0

Modules

No modules.

Resources

Name Type
kubectl_manifest.ec2nodeclass resource

Inputs

Name Description Type Default Required
ami_selector_terms Terms for selecting which AMI to launch. See https://karpenter.sh/docs/tasks/managing-amis/ for more information. Only Bottlerocket AMIs are supported by this terraform code. list(any) n/a yes
disk_setup_image Docker image for disk bootstraping when swap is enabled. string "docker.io/materialize/ephemeral-storage-setup-image:v0.4.1" no
instance_profile Name of the instance profile to assign to nodes. string n/a yes
instance_types List of instance types to support. list(string) n/a yes
name Name of the EC2NodeClass. string n/a yes
prefix_delegation_enabled Whether the CNI is configured to assign CIDR block prefixes instead of single IP addresses. bool false no
security_group_ids List of security group IDs to assign to nodes. list(string) n/a yes
subnet_ids List of subnet IDs to launch nodes into. list(string) n/a yes
swap_enabled Whether to enable swap on the local NVMe disks. bool true no
tags Tags to apply to AWS resources created. map(string) n/a yes

Outputs

Name Description
kube_reserved_cpus_description Quantity of CPUs to reserve for the kubelet.
kube_reserved_memory_description Quantity of memory to reserve for the kubelet.