Skip to content

Commit

Permalink
feature: cluster manager support ctyun creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Maclon9573 committed Oct 12, 2023
1 parent 7e99bb6 commit d1c3471
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func generateWorkerNodes(cls *proto.Cluster, vpcId, subnetId uint32, groups []*p
}
dataDisks = append(dataDisks, &api.Disk{
Count: 1,
IOType: api.DisKIOTypeHigh,
IOType: api.DisKIOTypeNormal,
Size: uint32(size),
DiskType: d.DiskType,
})
Expand All @@ -296,7 +296,7 @@ func generateWorkerNodes(cls *proto.Cluster, vpcId, subnetId uint32, groups []*p
Password: passwd,
SystemDisk: &api.Disk{
Count: 1,
IOType: api.DisKIOTypeHigh,
IOType: api.DisKIOTypeNormal,
Size: uint32(systemDiskSize),
DiskType: ng.LaunchTemplate.SystemDisk.DiskType,
},
Expand Down Expand Up @@ -335,7 +335,7 @@ func generateMasterNodes(cls *proto.Cluster, vpcId, subnetId uint32) (*api.Maste
}
dataDisks = append(dataDisks, &api.Disk{
Count: 1,
IOType: api.DisKIOTypeHigh,
IOType: api.DisKIOTypeNormal,
Size: uint32(size),
DiskType: d.DiskType,
})
Expand All @@ -356,7 +356,7 @@ func generateMasterNodes(cls *proto.Cluster, vpcId, subnetId uint32) (*api.Maste
Password: passwd,
SystemDisk: &api.Disk{
Count: 1,
IOType: api.DisKIOTypeHigh,
IOType: api.DisKIOTypeNormal,
Size: uint32(systemDiskSize),
DiskType: cls.Template[0].SystemDisk.DiskType,
},
Expand Down

0 comments on commit d1c3471

Please sign in to comment.