hitrov / oci-arm-host-capacity

This script allows to bypass Oracle Cloud Infrastructure 'Out of host capacity' error immediately when additional OCI capacity will appear in your Home Region / Availability domain.
MIT License
991 stars 500 forks source link

how to change bootVolumeVpusPerGB ? #129

Open mzayn opened 7 months ago

mzayn commented 7 months ago

hello,

in this env. file how to change and add this bootVolumeVpusPerGB ?

{"sourceType":"image","imageId":"ocid1.image.oc1.ap-landon-1.aaaaaaaafenvfjakf5wtkaghqs3netev5nb35xzxba42ok7rzkcblq6wdnpa","bootVolumeSizeInGBs":110,"bootVolumeVpusPerGB":30}

want to change to 10,20,30 or 50 for Specify a custom boot volume size.

let me know if gave any changes at file.

Thanks

saturiofp commented 7 months ago

Hi! Just add here https://github.com/hitrov/oci-arm-host-capacity/blob/main/src/OciApi.php#L94:

, "bootVolumeVpusPerGB": X replacing X with the value you want

mzayn commented 6 months ago

Hi! Just add here https://github.com/hitrov/oci-arm-host-capacity/blob/main/src/OciApi.php#L94:

, "bootVolumeVpusPerGB": X replacing X with the value you want

thanks, later try.

for Free Resource Oracle have limit for boot volume ARM cores ? want to know for this.


and when i run this script till right now still not available " Out of Capacity " - almost a month still can't create...