Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add medium VM type to cloud-config #1209

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions iaas-support/alicloud/cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ vm_types:
cloud_properties:
instance_type: ecs.sn2ne.xlarge
ephemeral_disk: {size: "51_200"}
- name: medium
cloud_properties:
instance_type: ecs.sn1.2xlarge
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only found type ecs.sn1ne.2xlarge with 8 CPUs and 16GB memory. Did you mean that size?
Docu: https://www.alibabacloud.com/help/en/ecs/user-guide/compute-optimized-instance-families

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes ecs.sn1ne.2xlarge is much bigger, if we compare it with the compiler vm type ecs.sn1.large (4 CPUs and 8GB memory). Also network baseline bandwidth is 2 Gbit/s.

ephemeral_disk: {size: "51_200"}
- name: compiler
cloud_properties:
instance_type: ecs.sn1.large
Expand Down
3 changes: 3 additions & 0 deletions iaas-support/openstack/cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ vm_types:
- name: small-highmem-100GB-ephemeral-disk
cloud_properties:
instance_type: small-highmem-100GB-ephemeral-disk
- name: medium
cloud_properties:
instance_type: m1.large
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should change the other flavors to the defaults listed on https://docs.openstack.org/nova/latest/admin/flavors.html?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


disk_types:
- name: 5GB
Expand Down
5 changes: 5 additions & 0 deletions iaas-support/vsphere/cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ vm_types:
cpu: 4
ram: 32768
disk: 10240
- name: medium
cloud_properties:
cpu: 8
ram: 16384
disk: 10240

disk_types:
- disk_size: 5120
Expand Down