@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
3
3
kind : CustomResourceDefinition
4
4
metadata :
5
5
annotations :
6
- controller-gen.kubebuilder.io/version : v0.17.3
6
+ controller-gen.kubebuilder.io/version : v0.18.0
7
7
name : ec2nodeclasses.karpenter.k8s.aws
8
8
spec :
9
9
group : karpenter.k8s.aws
@@ -195,6 +195,17 @@ spec:
195
195
Valid Range: Minimum value of 125. Maximum value of 1000.
196
196
format : int64
197
197
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
198
209
volumeSize :
199
210
description : |-
200
211
VolumeSize in `Gi`, `G`, `Ti`, or `T`. You must specify either a snapshot ID or
@@ -228,6 +239,8 @@ spec:
228
239
x-kubernetes-validations :
229
240
- message : snapshotID or volumeSize must be defined
230
241
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 != '''' )'
231
244
rootVolume :
232
245
description : |-
233
246
RootVolume is a flag indicating if this device is mounted as kubelet root dir. You can
0 commit comments