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 set at 3.25.3 or newer also rejects a list in which no family matches the build architecture, which comes from build_node_type and falls back to node_type. Setting karpenter_build_instance_families=c7g while build_node_type is an x86 type fails with karpenter_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 the node_type architecture when it is unset), and the arch of each additional_karpenter_nodepools_config pool. convox rack params set at 3.26.1 or newer, and the Console, refuse a list that misses one, for example karpenter_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