config.yaml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. version: 3
  2. resources:
  3. - kind: Server
  4. ram:
  5. size: 128
  6. mts: 3200
  7. ipmi: true
  8. cpus:
  9. - model: AMD EPYC 7302P
  10. cores: 16
  11. threads: 32
  12. drives:
  13. - type: ssd
  14. size: 1024
  15. - type: ssd
  16. size: 1024
  17. ports:
  18. - type: rj45
  19. speed: 1
  20. count: 2
  21. - type: sfp+
  22. speed: 10
  23. count: 2
  24. name: proxmox-node01
  25. tags:
  26. - prod
  27. - infra
  28. labels:
  29. install-date: 2023-02-11
  30. rack-unit: U10
  31. notes: |-
  32. # Proxmox main node
  33. - 400w idle
  34. - 1200w load
  35. - kind: Server
  36. ram:
  37. size: 96
  38. mts: 2666
  39. ipmi: true
  40. cpus:
  41. - model: Intel Xeon Silver 4210
  42. cores: 10
  43. threads: 20
  44. drives:
  45. - type: ssd
  46. size: 1024
  47. - type: hdd
  48. size: 4096
  49. ports:
  50. - type: rj45
  51. speed: 1
  52. count: 2
  53. - type: sfp+
  54. speed: 10
  55. count: 1
  56. name: proxmox-node02
  57. tags:
  58. - prod
  59. - infra
  60. labels:
  61. install-date: 2023-02-12
  62. rack-unit: U11
  63. - kind: Server
  64. ram:
  65. size: 64
  66. mts: 2666
  67. ipmi: true
  68. cpus:
  69. - model: Intel Xeon E-2236
  70. cores: 6
  71. threads: 12
  72. drives:
  73. - type: hdd
  74. size: 8192
  75. - type: hdd
  76. size: 8192
  77. - type: hdd
  78. size: 8192
  79. - type: hdd
  80. size: 8192
  81. ports:
  82. - type: rj45
  83. speed: 1
  84. count: 1
  85. - type: sfp+
  86. speed: 10
  87. count: 1
  88. name: truenas-storage
  89. tags:
  90. - prod
  91. labels:
  92. install-date: 2022-08-20
  93. rack-unit: U12
  94. - kind: Firewall
  95. model: Netgate-6100
  96. managed: true
  97. poe: false
  98. ports:
  99. - type: rj45
  100. speed: 1
  101. count: 4
  102. - type: sfp+
  103. speed: 10
  104. count: 2
  105. name: pfsense-fw
  106. tags:
  107. - infra
  108. labels:
  109. install-date: 2022-03-10
  110. - kind: Router
  111. model: Ubiquiti-ER-4
  112. managed: true
  113. poe: false
  114. ports:
  115. - type: rj45
  116. speed: 1
  117. count: 4
  118. - type: sfp
  119. speed: 10
  120. count: 1
  121. name: core-router
  122. tags:
  123. - infra
  124. labels:
  125. install-date: 2022-03-01
  126. - kind: Switch
  127. model: UniFi-USW-Enterprise-24
  128. managed: true
  129. poe: true
  130. ports:
  131. - type: rj45
  132. speed: 1
  133. count: 12
  134. - type: rj45
  135. speed: 2.5
  136. count: 8
  137. - type: sfp+
  138. speed: 10
  139. count: 4
  140. name: core-switch
  141. tags:
  142. - infra
  143. labels:
  144. rack-unit: U15
  145. - kind: Switch
  146. model: UniFi-USW-16-PoE
  147. managed: true
  148. poe: true
  149. ports:
  150. - type: rj45
  151. speed: 1
  152. count: 16
  153. - type: sfp
  154. speed: 1
  155. count: 2
  156. name: access-switch
  157. tags:
  158. - infra
  159. labels:
  160. rack-unit: U16
  161. - kind: AccessPoint
  162. model: UniFi-U6-Pro
  163. speed: 2.5
  164. ports:
  165. - type: rj45
  166. speed: 2.5
  167. count: 1
  168. name: lounge-ap
  169. labels:
  170. install-date: 2023-06-05
  171. service-at: lounge
  172. - kind: System
  173. type: Hypervisor
  174. os: proxmox
  175. cores: 16
  176. ram: 128
  177. ip: 10.0.20.10
  178. name: proxmox-cluster-node01
  179. runsOn:
  180. - proxmox-node01
  181. - kind: System
  182. type: Hypervisor
  183. os: proxmox
  184. cores: 10
  185. ram: 96
  186. ip: 10.0.20.11
  187. name: proxmox-cluster-node02
  188. runsOn:
  189. - proxmox-node02
  190. - kind: System
  191. type: VM
  192. os: hassos
  193. cores: 2
  194. ram: 4
  195. ip: 192.168.0.10
  196. name: vm-home-assistant
  197. runsOn:
  198. - proxmox-cluster-node01
  199. - kind: System
  200. type: VM
  201. os: ubuntu-22.04
  202. cores: 4
  203. ram: 8
  204. ip: 192.168.0.20
  205. name: vm-media-server
  206. runsOn:
  207. - proxmox-cluster-node02
  208. - kind: System
  209. type: VM
  210. os: debian-12
  211. cores: 2
  212. ram: 4
  213. ip: 192.168.0.40
  214. name: vm-monitoring
  215. runsOn:
  216. - proxmox-cluster-node01
  217. - kind: System
  218. type: container
  219. os: alpine
  220. cores: 1
  221. ram: 1
  222. ip: 192.168.0.41
  223. name: ctr-grafana
  224. runsOn:
  225. - vm-monitoring
  226. - kind: Service
  227. network:
  228. port: 8123
  229. protocol: TCP
  230. url: http://homeassistant.lan:8123
  231. name: home-assistant
  232. labels:
  233. service-at: home
  234. runsOn:
  235. - vm-home-assistant
  236. - kind: Service
  237. network:
  238. port: 32400
  239. protocol: TCP
  240. url: http://plex.lan:32400
  241. name: plex
  242. tags:
  243. - media
  244. runsOn:
  245. - vm-media-server
  246. - kind: Service
  247. network:
  248. port: 8096
  249. protocol: TCP
  250. url: http://jellyfin.lan:8096
  251. name: jellyfin
  252. tags:
  253. - media
  254. runsOn:
  255. - vm-media-server
  256. - kind: Service
  257. network:
  258. port: 8080
  259. protocol: TCP
  260. url: http://immich.lan:8080
  261. name: immich
  262. tags:
  263. - media
  264. runsOn:
  265. - vm-media-server
  266. - kind: Service
  267. network:
  268. port: 3000
  269. protocol: TCP
  270. url: http://grafana.lan:3000
  271. name: grafana
  272. tags:
  273. - containers
  274. runsOn:
  275. - ctr-grafana
  276. - kind: Service
  277. network:
  278. port: 9090
  279. protocol: TCP
  280. url: http://prometheus.lan:9090
  281. name: prometheus
  282. runsOn:
  283. - vm-monitoring
  284. connections:
  285. - a:
  286. resource: core-router
  287. portGroup: 0
  288. portIndex: 0
  289. b:
  290. resource: pfsense-fw
  291. portGroup: 0
  292. portIndex: 0
  293. label: wan-link
  294. - a:
  295. resource: pfsense-fw
  296. portGroup: 1
  297. portIndex: 0
  298. b:
  299. resource: core-switch
  300. portGroup: 2
  301. portIndex: 0
  302. label: firewall-lan
  303. - a:
  304. resource: core-switch
  305. portGroup: 2
  306. portIndex: 1
  307. b:
  308. resource: access-switch
  309. portGroup: 1
  310. portIndex: 0
  311. label: switch-uplink
  312. - a:
  313. resource: proxmox-node01
  314. portGroup: 1
  315. portIndex: 0
  316. b:
  317. resource: core-switch
  318. portGroup: 2
  319. portIndex: 2
  320. label: node01-10g
  321. - a:
  322. resource: proxmox-node02
  323. portGroup: 1
  324. portIndex: 0
  325. b:
  326. resource: core-switch
  327. portGroup: 2
  328. portIndex: 3
  329. label: node02-10g
  330. - a:
  331. resource: truenas-storage
  332. portGroup: 1
  333. portIndex: 0
  334. b:
  335. resource: core-switch
  336. portGroup: 0
  337. portIndex: 4
  338. label: storage-link
  339. - a:
  340. resource: lounge-ap
  341. portGroup: 0
  342. portIndex: 0
  343. b:
  344. resource: access-switch
  345. portGroup: 0
  346. portIndex: 1
  347. label: wifi-uplink