Skip to main content

astroctl cloud aws generate-karpenter

Generate Karpenter prerequisite CloudFormation for standard EKS

Synopsis

Generate a CloudFormation template that prepares an existing standard EKS cluster for the Karpenter add-on. The template creates the controller and node identities, node access entry, Pod Identity association, interruption queue, and event rules. Review and deploy it in the cluster's AWS account before applying the Karpenter add-on manifest.

astroctl cloud aws generate-karpenter [flags]

Examples


# Write a reviewable template
astroctl cloud aws generate-karpenter \
--cluster-name production \
--output-file karpenter-cloudformation.yaml

# Deploy it with named-IAM acknowledgement
aws cloudformation deploy \
--template-file karpenter-cloudformation.yaml \
--stack-name Karpenter-production \
--capabilities CAPABILITY_NAMED_IAM

Options

--cluster-name string Existing standard EKS cluster name (required)
-h, --help help for generate-karpenter
--output-file string Output file path (prints to stdout if omitted)

Options inherited from parent commands

-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO