Skip to content

Commit a2a879c

Browse files
authored
Merge pull request #9176 from zalando-incubator/only-nitro
karpenter: Only allow nitro instances
2 parents d48bd30 + 8943cad commit a2a879c

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

cluster/config-defaults.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ karpenter_max_pods_per_node: "32"
4444
# Our AMI configured RAID0 at boot.
4545
karpenter_instance_storage_raid0: "true"
4646

47-
# Require support for the Nitro hypervisor for Karpenter NodePools.
48-
karpenter_nitro_support_required: "true"
49-
5047
# configure whether karpenter node pools only allow instances supporting
5148
# in-transit encryption
5249
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit

cluster/node-pools/worker-karpenter/provisioners.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,10 @@ spec:
144144
# Operators { In, NotIn, Exists, DoesNotExist, Gt, and Lt } are supported.
145145
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#operators
146146
requirements:
147-
#{{ if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6") }}
148147
- key: karpenter.k8s.aws/instance-hypervisor
149148
operator: In
150149
values:
151150
- nitro
152-
#{{ end }}
153-
#{{ if eq .Cluster.ConfigItems.karpenter_nitro_support_required "true" }}
154-
#{{ if and (eq .Cluster.Provider "zalando-aws") (eq .NodePool.KarpenterInstanceTypeStrategy "not-specified") }}
155-
- key: karpenter.k8s.aws/instance-hypervisor
156-
operator: In
157-
values:
158-
- nitro
159-
#{{ end }}
160-
#{{ end }}
161151
#{{ if eq .NodePool.ConfigItems.karpenter_in_transit_support_required "true" }}
162152
- key: karpenter.k8s.aws/instance-encryption-in-transit-supported
163153
operator: In

0 commit comments

Comments
 (0)