We created tf-grid-cli tool, a very simple way to provision VMs and Kubernetes clusters on threefold grid with simple one liners.
It’s a easy as
> tf-grid-cli deploy vm --name examplevm --ssh ~/.ssh/id_rsa.pub --cpu 2 --memory 4 --disk 10
12:57PM INF deploying network
12:58PM INF deploying vm
12:58PM INF vm yggdrasil ip: 302:9e63:7d43:b742:2122:1377:b38b:cb26
➜ info_grid git:(development) ssh root@302:9e63:7d43:b742:2122:1377:b38b:cb26
The authenticity of host '302:9e63:7d43:b742:2122:1377:b38b:cb26 (302:9e63:7d43:b742:2122:1377:b38b:cb26)' can't be established.
ED25519 key fingerprint is SHA256:Csoh/O2Pg85GFe+yWyOEEDgvQMZdT86QTCHFTG494Oc.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '302:9e63:7d43:b742:2122:1377:b38b:cb26' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.12.9 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@examplevm:~#
We started some documentation effort https://www2.manual.grid.tf/tfgridcmd/grid3_cli_readme.html (it already has a quite simple interface)
during the login can use dev
or qa
values until the relay is published on testnet or mainnet
Looking forward for your feedback! Also in case of issues can be posted here or on the feedback repo https://github.com/threefoldtech/test_feedback/issues