mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
.. | ||
modules | ||
base.tf | ||
Makefile | ||
platform.tf | ||
README.md | ||
terraform.tf | ||
variables.tf |
Private cloud infrastructure
Current state:
lxc list
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | LOCATION |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| tfstate | RUNNING | 192.168.1.25 (eth0) | | CONTAINER | 0 | metal0 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| master-0 | RUNNING | 192.168.1.49 (eth0) | | CONTAINER | 0 | metal3 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| master-1 | RUNNING | 192.168.1.48 (eth0) | | CONTAINER | 0 | metal1 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| master-2 | RUNNING | 192.168.1.50 (eth0) | | CONTAINER | 0 | metal2 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| worker-0 | RUNNING | 192.168.1.52 (enp5s0) | | VIRTUAL-MACHINE | 0 | metal1 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| worker-1 | RUNNING | 192.168.1.51 (enp5s0) | | VIRTUAL-MACHINE | 0 | metal0 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
| worker-2 | RUNNING | 192.168.1.53 (enp5s0) | | VIRTUAL-MACHINE | 0 | metal3 |
+----------+---------+-----------------------+------+-----------------+-----------+----------+
Currently, worker nodes are virtual machines instead of containers because of an ISCSI bug in the Linux kernel.