NaC
NaC copied to clipboard
LXD simulation for Proxmox setup
Moving everything to Proxmox will break our previous LXD simulation.
Someone will need to look at emulating recreating netsoc-ubuntu-server
, see template-netsoc-ubuntu-server.yml
and packer/netsoc-ubuntu-server
as an LXD image
They will then need to modify simulation.sh to create instances of that image. They will need to either input hosts into the ./hosts
or create a dynamic inventory script similar to ./proxmox_inventory.py
that can discover the LXD instances.
The network addresses should (I think) be the same (this will need to be investigated). If this is done correctly, we can then run any of our provision-*.yml files on any of the containers and it should create a full local demo of all of Netsoc's infrastructure without the need of running VMs.
Id love to look into using https://github.com/weaveworks/footloose to have a set of test servers for local testing declaratively defined
https://github.com/weaveworks/ignite/blob/master/docs/footloose.md
any idea how well these perform with strictly kernel stuff? can imagine nfs might be an issue