homelab/docs/ADR/001-Development-environment.md

30 lines
908 B
Markdown
Raw Normal View History

2022-11-01 09:49:56 +00:00
# 001 Development environment
2022-11-01 09:45:21 +00:00
## Status
Accepted
## Context
2022-11-29 21:08:34 +00:00
we need to create a virtual cluster to do test without impact on production.
2022-11-01 09:45:21 +00:00
### Virtualisation or Container
Virtualisation provide better isolation but must ressource are needed.
Container able to create more item without consum as resource than virtual machine.
### Creation Wrapper
Vagrant is good top manage virtual machine but not a lot of LXC box availlable, Vagant van be use with other configuration manager than ansible.
Molecule can manage molecule with plugins molecule-LXD. molecule is ansible exclusive solution
## Decision
we will use container instead VM for the resource consumption avantage.
Molecule wrapper will be use because all our configuration is already provide by ansible and we can have a better choise of container with molecule than vagrant.
## Consequences
Need to create dev env other an LXD server.