Skip to main content

Localhost Deployment Applications

Localhost deployment applications let you exercise Vantage workflows on a laptop or development machine. The current CLI still models these targets as cloud accounts, so create a cloud account first and then pass it to v8x cluster create.

Multipass

Use Multipass to launch a single-node Slurm virtual machine.

sudo snap install multipass
multipass version
v8x cloud account create local-multipass --provider on_prem
v8x cluster create slurm-dev \
--cloud-account local-multipass \
--app slurm-multipass \
--options operating_system=rockylinux9,cpu=4,mem=8,disk=128G

Supported operating systems for slurm-multipass are rockylinux9, rockylinux10, noble, and resolute.

Continue to the Multipass guide.

LXD and Juju

Use LXD and Juju for LXD-backed Vantage System and Juju extension workflows.

sudo snap install lxd --channel latest/stable
sudo snap install juju --channel 3.6/stable
sudo lxd init --auto
sudo adduser "$USER" lxd
lxc network set lxdbr0 ipv6.nat false
juju bootstrap localhost

Create an LXD cloud account with the server URL and trust token:

v8x cloud account create local-lxd --provider lxd \
--attributes '{"lxd_server_url":"https://127.0.0.1:8443","lxd_token":"<token>"}'

Continue to the LXD and Juju guide.

MicroK8s

Use MicroK8s when you want a local Kubernetes substrate.

sudo snap install microk8s --channel 1.29/stable --classic
sudo microk8s.enable hostpath-storage
sudo microk8s.enable dns
sudo microk8s.enable metallb:10.64.140.43-10.64.140.49
sudo usermod -a -G microk8s "$USER"
sudo chown -f -R "$USER" ~/.kube
newgrp microk8s

Register it as a cloud account:

v8x cloud account create local-microk8s --provider microk8s

Continue to the MicroK8s guide.