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
aws ~> 5.0
helm ~> 2.0
kubernetes ~> 2.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_event_rule.rebalance_interruption resource
aws_cloudwatch_event_rule.scheduled_interruption resource
aws_cloudwatch_event_rule.spot_interruption resource
aws_cloudwatch_event_rule.state_change_interruption resource
aws_cloudwatch_event_target.rebalance_interruption resource
aws_cloudwatch_event_target.scheduled_interruption resource
aws_cloudwatch_event_target.spot_interruption resource
aws_cloudwatch_event_target.state_change_interruption resource
aws_eks_access_entry.node resource
aws_iam_instance_profile.node resource
aws_iam_policy.karpenter_controller resource
aws_iam_role.karpenter_controller resource
aws_iam_role.node resource
aws_iam_role_policy_attachment.ecr_read_only resource
aws_iam_role_policy_attachment.eks_cni resource
aws_iam_role_policy_attachment.eks_worker_node resource
aws_iam_role_policy_attachment.karpenter_controller resource
aws_iam_role_policy_attachment.ssm_managed_instance_core resource
aws_sqs_queue.interruption resource
aws_sqs_queue_policy.interruption resource
helm_release.karpenter resource
kubernetes_namespace.karpenter resource
kubernetes_service_account.karpenter_controller resource

Inputs

Name Description Type Default Required
cluster_endpoint Endpoint of the EKS cluster's Kubernetes API server. string n/a yes
cluster_name Name of the EKS cluster. string n/a yes
cluster_oidc_issuer_url URL of the EKS cluster's OIDC issuer. string n/a yes
helm_chart_version Version of the Karpenter helm chart to install. string "1.8.1" no
name_prefix Prefix for all resource names. string n/a yes
node_selector Node selector for the Karpenter controller pods. map(string) n/a yes
oidc_provider_arn ARN of the EKS cluster's OIDC provider. string n/a yes
tags Tags to apply to all resources map(string) {} no
vm_memory_overhead_percent Reduction in memory from advertized, to account for VM overhead. number 0.05 no

Outputs

Name Description
node_instance_profile Name of the instance profile to assign to nodes.