Stolen_Walnut
Dabbler
- Joined
- Jan 1, 2023
- Messages
- 10
I currently have a setup that I'm unhappy with and would like to migrate to a better setup, but am struggling to get the virtualization right.
The thought here was that it felt wrong for Gitlab to be sending so much traffic over the network for it's general operations. It seems like there should be a straight forward way to virtualize Gitlab & point it at its dataset on the NVMe pool, but that's alluding me.
Fumbling my way through some of the setup, I found myself in this situation:
Am I over looking a way to just pass a dataset to a VM to put its files on directly / expand as needed?
I was originally thinking I'd be using jails, but it looks like that was removed from the GUI (never got around to actually trying that out, so not sure if that was what I wanted to begin with)
Thought about maybe run a Linux distro with Gitlab on it and throwing TrueNAS in docker maybe, but it looks like that's not supported.
A hypervisor running a VM of TrueNAS and a VM of Gitlab brings networking back into the mix, albeit virtualized.
Hrm.
Any help would be much appreciated, and please call out if I've made any bad assumptions or gotten things wrong.
Thanks!
Current situation | Try to migrate to |
|
|
The thought here was that it felt wrong for Gitlab to be sending so much traffic over the network for it's general operations. It seems like there should be a straight forward way to virtualize Gitlab & point it at its dataset on the NVMe pool, but that's alluding me.
Fumbling my way through some of the setup, I found myself in this situation:
- New NAS OS: TrueNAS
- Pool of NVMes
- dataset for misc
- dataset for Gitlab
- VM image
- VM: Gitlab
- Point to VM image for OS & data
- Pool of NVMes
- VM image saved onto dataset as one big file -- all or nothing for data loss / replication (or is this a bad assumption?)
- Seems like I had to set a max file size for VM image which would need to be manually monitored and expanded as needed
Am I over looking a way to just pass a dataset to a VM to put its files on directly / expand as needed?
I was originally thinking I'd be using jails, but it looks like that was removed from the GUI (never got around to actually trying that out, so not sure if that was what I wanted to begin with)
Thought about maybe run a Linux distro with Gitlab on it and throwing TrueNAS in docker maybe, but it looks like that's not supported.
A hypervisor running a VM of TrueNAS and a VM of Gitlab brings networking back into the mix, albeit virtualized.
Hrm.
Any help would be much appreciated, and please call out if I've made any bad assumptions or gotten things wrong.
Thanks!
"New NAS"
OS Version: Currently TrueNAS-SCALE-22.12.0, but flexible if something makes more sense
Motherboard: MSI MEG Z690I UNIFY
CPU: Intel Core i5-12500
RAM: G.Skill Ripjaws S5 64GB (2 x 32GB) DDR5-5200
Drives
OS Version: Currently TrueNAS-SCALE-22.12.0, but flexible if something makes more sense
Motherboard: MSI MEG Z690I UNIFY
CPU: Intel Core i5-12500
RAM: G.Skill Ripjaws S5 64GB (2 x 32GB) DDR5-5200
Drives
- Pools
- boot-pool: SATA SSD - Samsung 870 EVO Series 2.5" 250GB
- np:
- mirror-0
- NVMe: Inland Premium 2TB SSD M.2
- NVMe: Crucial - P3 2TB Internal SSD
- Note: I'm aware these are different sizes... One will be replaced with identical size before continuing
- mirror-0
- 3x integrated/on-board SSD/NVMe controllers:
- lspci -nnn | grep -E "0106|0108"
- 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:7ae2] (rev 11)
- 09:00.0 Non-Volatile memory controller [0108]: Micron/Crucial Technology Device [c0a9:540a] (rev 01)
- 13:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation PS5013 E13 NVMe Controller [1987:5013] (rev 01)
- lspci -nnn | grep -E "0106|0108"
- 2x:
- lspci -nnn | grep 0200
- 08:00.0 Ethernet controller [0200]: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:07b1] (rev 02)
- 0b:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03)
- lspci -nnn | grep 0200