Panfactum LogoPanfactum
Infrastructure ModulesKuberneteskube_karpenter

Karpenter

kube_karpenter
Stable
Live
Source Code Link

Providers

The following providers are needed by this module:

  • aws (5.39.1)

  • helm (2.12.1)

  • kubernetes (2.27.0)

Required Inputs

The following input variables are required:

cluster_name

Description: The name of the EKS cluster.

Type: string

node_role_arn

Description: The arn of the role the EKS cluster roles are assigned

Type: string

node_security_group_id

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

Type: string

node_subnets

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

Type: set(string)

node_vpc_id

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

Type: string

Optional Inputs

The following input variables are optional (have default values):

aws_iam_ip_allow_list

Description: A list of IPs that can use the service account token to authenticate with AWS API

Type: list(string)

Default: []

karpenter_helm_version

Description: The version of the karpenter helm chart to deploy

Type: string

Default: "0.35.2"

log_level

Description: The log level for the karpenter pods

Type: string

Default: "debug"

pull_through_cache_enabled

Description: Whether to use the ECR pull through cache for the deployed images

Type: bool

Default: false

vpa_enabled

Description: Whether the VPA resources should be enabled

Type: bool

Default: false

Outputs

No outputs.

Usage

No notes