Skip to content

Commit 746cc6b

Browse files
committed
update Karpenter CRDs for v1.5.0
1 parent 04186b3 commit 746cc6b

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

cluster/manifests/z-karpenter/07-karpenter.k8s.aws_ec2nodeclasses.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: ec2nodeclasses.karpenter.k8s.aws
88
spec:
99
group: karpenter.k8s.aws
@@ -195,6 +195,17 @@ spec:
195195
Valid Range: Minimum value of 125. Maximum value of 1000.
196196
format: int64
197197
type: integer
198+
volumeInitializationRate:
199+
description: |-
200+
VolumeInitializationRate specifies the Amazon EBS Provisioned Rate for Volume Initialization,
201+
in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as volume
202+
initialization. Specifying a volume initialization rate ensures that the volume is initialized at a
203+
predictable and consistent rate after creation. Only allowed if SnapshotID is set.
204+
Valid Range: Minimum value of 100. Maximum value of 300.
205+
format: int32
206+
maximum: 300
207+
minimum: 100
208+
type: integer
198209
volumeSize:
199210
description: |-
200211
VolumeSize in `Gi`, `G`, `Ti`, or `T`. You must specify either a snapshot ID or
@@ -228,6 +239,8 @@ spec:
228239
x-kubernetes-validations:
229240
- message: snapshotID or volumeSize must be defined
230241
rule: has(self.snapshotID) || has(self.volumeSize)
242+
- message: snapshotID must be set when volumeInitializationRate is set
243+
rule: '!has(self.volumeInitializationRate) || (has(self.snapshotID) && self.snapshotID != '''')'
231244
rootVolume:
232245
description: |-
233246
RootVolume is a flag indicating if this device is mounted as kubelet root dir. You can

cluster/manifests/z-karpenter/08-karpenter.sh_nodeclaims.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: nodeclaims.karpenter.sh
88
spec:
99
group: karpenter.sh

cluster/manifests/z-karpenter/09-karpenter.sh_nodepools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: nodepools.karpenter.sh
88
spec:
99
group: karpenter.sh

0 commit comments

Comments
 (0)