Skip to content

erayarslan/multiverse

Repository files navigation

multiverse (this is a work in progress, btw i forgot the work on this)

for my homelab

test

go run cmd/main.go --help

example

λ multipass start
Launched: primary
Mounted '/Users/username' into 'primary:Home'
λ multiverse -master
master.go: master addr: localhost:1337
master.go: api server addr: localhost:1338
λ multiverse -worker
worker.go: master to connect addr: localhost:1337
client.go: joined with uuid: $uuid
λ multiverse -client -shell -shell-instance-name=primary
ubuntu@primary:~$
λ multiverse -client -nodes
Node Name     IPv4                Cpu       Mem       Disk      Last Sync
hostname      127.0.0.1:*****     1         1Gb       4Gb       2024-01-01 00:00:00 UTC
λ multiverse -client -instances
Node Name     Instance Name     State       IPv4              Image
hostname      primary           Running     xxx.xxx.xxx.xxx   ??.?? ???
λ multiverse -client -info
Node Name     Instance Name     Cpu       Load               Disk                      Memory
hostname      primary           1         0.07 0.02 0.00     2.5GiB out of 4.0GiB      1.3GiB out of 4.0GiB

design

Multiverse Architecture