Inputs

The following input variables are supported:

amd64_node_ami_name

Description: The name of the AMI to use for the amd64 nodes that Karpenter creates.

Type: string

Default: "bottlerocket-aws-k8s-1.33-x86_64-v1.57.0-beaadc52"

arm64_node_ami_name

Description: The name of the AMI to use for the amd64 nodes that Karpenter creates.

Type: string

Default: "bottlerocket-aws-k8s-1.33-aarch64-v1.57.0-beaadc52"

cluster_ca_data

Description: The B64 encoded CA data of the API server of the eks cluster

Type: string

Default: n/a

cluster_dns_service_ip

Description: The IP address of the cluster’s DNS service.

Type: string

Default: n/a

cluster_endpoint

Description: The URL of the API server of the eks cluster

Type: string

Default: n/a

default_termination_grace_period

Description: The default termination grace period for on-demand nodes.

Type: string

Default: "1h0m0s"

max_node_cpu

Description: The maximum number of vCPUs for any single provisioned node

Type: number

Default: 32

max_node_memory_mb

Description: The maximum memory for any single provisioned node (in MB)

Type: number

Default: 65536

min_node_cpu

Description: The minimum number of vCPUs for any single provisioned node

Type: number

Default: 0

min_node_memory_mb

Description: The minimum memory for any single provisioned node (in MB)

Type: number

Default: 2500

monitoring_enabled

Description: Whether to active monitoring has been added to the cluster

Type: bool

Default: false

node_ebs_volume_size_gb

Description: The size of the EBS volume in GiB to use for each node.

Type: number

Default: 40

node_instance_profile

Description: The instance profile to use for launched nodes

Type: string

Default: n/a

node_labels

Description: Labels to apply to nodes generated by Karpenter

Type: map(string)

Default: {}

node_security_group_id

Description: The id of the security group for nodes running in the EKS cluster

Type: string

Default: n/a

node_subnets

Description: List of subnet names to deploy Karpenter nodes into.

Type: set(string)

Default: n/a

node_vpc_id

Description: The ID of the VPC to deploy Karpenter nodes into.

Type: string

Default: n/a

Outputs

The following outputs are exported:

user_data

Description: n/a

Providers

The following providers are needed by this module: