karpenter_build_instance_families
Description
The karpenter_build_instance_families parameter specifies which EC2 instance families Karpenter can use when provisioning build nodes.
Default Value
The default value is empty, which lets Karpenter use any instance family for build nodes. The build pool does not inherit karpenter_instance_families.
Setting the Parameter
$ convox rack params set karpenter_build_instance_families=c5,c6i -r rackName
Updating parameters... OK
Additional Information
- Validation: Comma-separated lowercase alphanumeric values. On a Rack with
karpenter_enabled=true,convox rack params setat3.25.3or newer also rejects a list in which no family matches the build architecture, which comes frombuild_node_typeand falls back tonode_type. Settingkarpenter_build_instance_families=c7gwhilebuild_node_typeis an x86 type fails withkarpenter_build_instance_families (c7g) has no family matching the build_node_type architecture (amd64); Karpenter could not provision any matching node. - Native builds: with
karpenter_build_native_arch_enabled=true, the list must also include a family for each architecture the Rack's Karpenter pools run:karpenter_arch(or thenode_typearchitecture when it is unset), and thearchof eachadditional_karpenter_nodepools_configpool.convox rack params setat3.26.1or newer, and the Console, refuse a list that misses one, for examplekarpenter_build_instance_families (c5,m5) has no arm64 family; with karpenter_build_native_arch_enabled=true the build pool needs a family for each architecture the rack runs. - The build NodePool is only created when
build_node_enabled=true.
See Also
- Karpenter for the full Karpenter configuration reference
- karpenter_instance_families
- karpenter_build_instance_sizes