ubicloud/lib
Maciek Sarnowicz 0b50b83445 'burstable' and 'sharable' VM families added on Control Plane
Adding more logic on Control Plane to help with creating of VMs inside slices. Also introduced new families and VM configurations to help with experimentation.
- two new families added: 'burstable' and 'sharable'. Both get created in an isolated slice called like the family. Allowed sizes are -50 and -100 which mean 50% or 100% vCPU, respectively. Burstable instances can go up another 50% or 100%.
- iniital slice allocation and tracking at VmHost level, this will need to be changed later
- cleaned up some earlier hardcoded values on Data Plane side
- temporarily turned off CPU accounting on VmHost/Allocator to allow for overcommiting

With this, new instances can be created with:
Prog::Vm::Nexus.assemble(File.read("/home/maciek/.ssh/id_ed25519.pub"), Project.first.id, name: "r2d2", size: "burstable-50", location: "hetzner-fsn1", enable_ip4: true, boot_image: "ubuntu-jammy")
2024-11-05 06:56:47 -08:00
..
hosting Accept Hetzner API 404 for delete_key as success 2023-12-15 13:54:49 -08:00
minio Fix double escaping of continuation_token 2024-04-10 16:47:29 +03:00
authorization.rb Avoid unnecessary autoloads in model files 2024-10-24 07:55:06 -07:00
billing_rate.rb Remove usage of class variables 2024-10-30 10:05:52 -07:00
casting_config_helpers.rb Increase Config test coverage and delete unused lines 2023-08-07 01:05:05 +03:00
clog.rb Remove usage of class variables 2024-10-30 10:05:52 -07:00
cloudflare_client.rb Manage setup/destroy of the repository's blob storage. 2024-06-28 10:06:23 +03:00
github.rb Remove usage of class variables 2024-10-30 10:05:52 -07:00
invoice_generator.rb Fix unit test for invoice generator 2024-08-22 14:41:07 +02:00
location_name_converter.rb Add functions to handle conversion between internal and display location names 2024-04-24 01:46:35 -07:00
monitorable_resource.rb Reduce logging for up resources 2024-06-07 10:36:23 +02:00
option.rb 'burstable' and 'sharable' VM families added on Control Plane 2024-11-05 06:56:47 -08:00
pagination.rb Fix pagination by appending clauses to the given query 2024-05-02 10:39:42 -07:00
sem_snap.rb Use destroy instead of delete 2023-08-01 11:58:57 +03:00
ssh_key.rb Add missing require 2023-04-25 15:59:56 -07:00
thread_printer.rb Move Thread dump code ThreadPrinter module 2023-09-04 13:01:21 -07:00
util.rb Introduce elliptic curve backwards compatibility code 2024-10-29 07:40:12 -07:00
validation.rb Add Cloudflare Turnstile captcha to account creation form 2024-11-05 13:47:16 +03:00