Skip to content

Hoster v0.3

Latest
Compare
Choose a tag to compare
@yaroslav-gwit yaroslav-gwit released this 26 Nov 23:48
· 603 commits to main since this release

So many changes have been introduced since the v0.2b that it's really hard to list them all. So I'll keep the list short by describing only the major changes.

The list of major changes for v0.3

  • HA Mode has been introduced. Now it's possible to run groups of (loosely coupled) HA nodes, and automatically failover the VMs in case there are any issues with a particular cluster node. HA depends on the REST API being available on each node, including the incoming http port. HTTPs hasn't been implemented yet, so please use WireGuard or Nebula to secure the traffic.
  • REST API is being improved in every minor release. It's now picking up the configuration from restapi_config.json instead of the command line flags.
  • CPU Threads is now supported as an optional key in the vm_config.json:
"cpu_threads": 2
  • PCI Passthru is now supported as an optional key in the vm_config.json:
"passthru": [ "1/0/0", "1/0/1" ]

or

"passthru": [ "-1/0/0", "-1/0/1" ]

you can find out about the differences from the Issue tracker or our docs.

  • New command has been introduced: hoster passthru list, which returns a similar output:
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                             Bhyve Passthru Devices                                                              │
├────────────┬─────────────┬────────────────┬──────────────┬────────────────────┬──────────────────────────────────────────┬──────────────────────┤
│ PPT Device │ PCI ID Raw  │      Type      │ Bhyve PCI ID │       Vendor       │                  Model                   │        Status        │
├────────────┼─────────────┼────────────────┼──────────────┼────────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ ppt0       │ pci0:1:0:0: │ display/VGA    │ 1/0/0        │ NVIDIA Corporation │ GP107GL Quadro P600                      │ In use by: test-vm-1 │
├────────────┼─────────────┼────────────────┼──────────────┼────────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ ppt1       │ pci0:1:0:1: │ multimedia/HDA │ 1/0/1        │ NVIDIA Corporation │ GP107GL High Definition Audio Controller │ In use by: test-vm-1 │
╰────────────┴─────────────┴────────────────┴──────────────┴────────────────────┴──────────────────────────────────────────┴──────────────────────╯
  • Added an initial support for FreeBSD Jails. You can now deploy, start and stop Jails using Hoster. Snapshot, replication and config reset will be coming in the next release.
  • Added node_exporter_custom to improve the Prometheus integration