Skip to content

Commit 2eec08a

Browse files
committed
Change default volume type to gp3
1 parent 1c9edd5 commit 2eec08a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/clusters/management/create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ node_groups:
3636
min_instances: 1 # minimum number of instances
3737
max_instances: 5 # maximum number of instances
3838
instance_volume_size: 50 # disk storage size per instance (GB)
39-
instance_volume_type: gp2 # instance volume type [gp2 | io1 | st1 | sc1]
39+
instance_volume_type: gp3 # instance volume type [gp2 | gp3 | io1 | st1 | sc1]
4040
# instance_volume_iops: 3000 # instance volume iops (only applicable to io1)
4141
spot: false # whether to use spot instances
4242

@@ -45,7 +45,7 @@ node_groups:
4545
min_instances: 1
4646
max_instances: 5
4747
instance_volume_size: 50
48-
instance_volume_type: gp2
48+
instance_volume_type: gp3
4949
# instance_volume_iops: 3000
5050
spot: false
5151
...

pkg/types/clusterconfig/cluster_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ var ManagedConfigStructFieldValidations = []*cr.StructFieldValidation{
478478
StructField: "InstanceVolumeType",
479479
StringValidation: &cr.StringValidation{
480480
AllowedValues: VolumeTypesStrings(),
481-
Default: GP2VolumeType.String(),
481+
Default: GP3VolumeType.String(),
482482
},
483483
Parser: func(str string) (interface{}, error) {
484484
return VolumeTypeFromString(str), nil

pkg/types/clusterconfig/volume_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type VolumeType int
2121
const (
2222
UnknownVolumeType VolumeType = iota
2323
GP2VolumeType
24+
GP3VolumeType
2425
IO1VolumeType
2526
SC1VolumeType
2627
ST1VolumeType
@@ -29,6 +30,7 @@ const (
2930
var _availableVolumeTypes = []string{
3031
"unknown",
3132
"gp2",
33+
"gp3",
3234
"io1",
3335
"sc1",
3436
"st1",

0 commit comments

Comments
 (0)