Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ karpenter_in_transit_support_required: "false"
# t type instances have burstable CPU, which can be undesirable in production
karpenter_instance_family_t_enabled: "false"

# configure whether we allow g6f instance family for Karpenter nodes
# g6f has fractional GPU count which is also mislabeled by Karpenter and causes
# scheduling issues, we need to properly test and support it later if needed
karpenter_instance_family_g6f_enabled: "false"

# configure whether spot instances should be enabled in Karpenter's capacity-types
karpenter_enable_spot: "true"

Expand Down
4 changes: 4 additions & 0 deletions cluster/node-pools/worker-karpenter/provisioners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ spec:
- "t3"
- "t2"
#{{ end }}
#{{ if eq .NodePool.ConfigItems.karpenter_instance_family_g6f_enabled "false"}}
# g6f has fractional GPU count which is also mislabeled by Karpenter and causes scheduling issues
- "g6f"
#{{ end }}
#{{ if eq .NodePool.ConfigItems.karpenter_in_transit_support_required "true" }}
- key: karpenter.k8s.aws/instance-encryption-in-transit-supported
operator: In
Expand Down