4
30
Legion739

@piefed.zip

Legion739 21 points 3 days ago

Preemptively responding to this, because I just know there's going to be a comment about this.

Yes Yes I know, GitHub, screw GitHub, Screw Microslop. I am trying to move away from Big Tech as much as possible, but it's a marathon not a sprint, and every win should be celebrated.

Perfection is the enemy of good.
.

path: 0 26243391, hotness: undefined, score: 21, children: 2
Legion739 3 points 3 days ago

See the "monitoring" namespace

image

kube-prometheus-stack plus VictoriaLogs for logs, about 100 pods on 2 nodes.

The whole stack uses about 2.2 GB RAM. Prometheus takes about 1.1 GB of that and Grafana about 700 MB. CPU is basically idle, around 0.2 cores.

Prometheus has about 150k series and uses about 7 GB for 15 days of metrics, so roughly 14 GB a month. Logs are about 3 GB a month. Grafana itself is under 1 GB.

It's mostly the default exporters, so a smaller lab would need less. A 20 GB volume would be plenty.

Prometheus is set to retention: 15d and retentionSize: 18GB. Anything older than 15 days is dropped, and so is the oldest data if the total goes over 18 GB, whichever happens first. It's sitting at a steady ~7 GB now that it has a full 15 days stored.

path: 0 26243871 26244092, hotness: undefined, score: 3, children: 0
Legion739 2 points 3 days ago

Thanks!

I took a lot of inspiration from here https://github.com/onedr0p/home-ops, there is also a discord server on there where you can ask people for help, they are quite helpful.

I mostly shopped around and found parts and implementations I liked and coppied that and made it my own

path: 0 26243391 26243727 26244011, hotness: undefined, score: 2, children: 0
Legion739 1 point 3 days ago path: 0 26243322, hotness: undefined, score: 1, children: 1
Legion739 115 points a month ago

Preemptively responding to this, because I just know there's going to be a comment about this.

Yes Yes I know, GitHub, screw GitHub, Screw Microslop. I am trying to move away from Big Tech as much as possible, but it's a marathon not a sprint, and every win should be celebrated.

Perfection is the enemy of good.
.

path: 0 25772788, hotness: undefined, score: 115, children: 10
Legion739 52 points a month ago

Thanks yea I've used Codeberg before, but the main reason I use GitHub, is I try to create a good looking profile to point potential new Clients to when I'm looking for a new job, explaining Codeberg to them I feel is a step too much, and my income is Priority Nr1.

I'll fight the Open-Source, anti-Big-Tech fight elsewhere.

path: 0 25772788 25773008 25773268, hotness: undefined, score: 52, children: 6
Legion739 29 points a month ago

Yea each one runs through the previous module, so all the power goes through the first module.

IEC 13/14 connectors are rated for 10A (2300 W at 230 V) which isn't much lower than what you can run through your wall outlet. And in reality they can probably handle 15A(What your wall can handle) as they are commonly refereed to as "Kettle cords" and used by kettles which draw ~13 Amps.

That's very high, to give you an idea the 6 things I have plugged in draws ~240w, so I could chain up ~60 mini PC's and only then would I be over the ~2300w limit.

I do now mention this in the Safety section of my "How to build this" write up

path: 0 25773028 25773167, hotness: undefined, score: 29, children: 3
Legion739 25 points a month ago

Thanks yea I made sure to add this Safety section to my write-up on how to build this yourself, and I reference back to it a lot, so it's painfully clear.

I printed this in PETG which can take the heat easily, but ideally you use UL 94 V-0 which is also flame retardant.

I did make sure everything is very well insulated, and pulled hard on every connection to make sure it's held down properly.

**Safety**  

This part carries live mains. Mains wiring kills people who get it wrong, and a fault in a printed enclosure can start a fire.  

Do not build it unless you are competent to wire mains and permitted to do so where you live. Sleeve or shroud all live terminals. PLA softens around 60 °C, PETG around 80 °C. Neither is flame retardant. Only a UL 94 V-0 filament is.  

Wire the protective earth if anything you plug in needs it.  

Build it at your own risk. I take no responsibility for injury, death, fire, or damage resulting from anything in this repository.  
path: 0 25772905 25773034, hotness: undefined, score: 25, children: 2
Legion739 19 points a month ago

My surname is Erasmus

path: 0 25777899 25778264, hotness: undefined, score: 19, children: 3
Legion739 19 points a month ago

I want it to be modular, so if I add another 2 servers, I can just add the server module in front, and its power module at the back.

path: 0 25775354 25775814, hotness: undefined, score: 19, children: 3
Legion739 16 points a month ago

Nice thanks, that sounds good. I'd definitely only want to push to one place, if it then syncs to GitHub that's fine.

path: 0 25772788 25773008 25773268 25774343 25774617, hotness: undefined, score: 16, children: 2
Legion739 8 points a month ago

I have basically taken a power strip, and made each plug a module.

image

The inside of a power strip, like in this image, is in series.

mains → yellow → red → blue → green → blue(end)

If a join between yellow and red is broken, it knocks out red and everything after it.

If what is plugged into yellow is plugged out, or disconnects everything else keeps working.

The same is true for my setup, the joins between Yellow, red etc. are just on the outside of the case, so you can disconnect them if you want, which would kill the power to what is after it. But you don't have to do that.

path: 0 25785379 25788442 25792563 25792761, hotness: undefined, score: 8, children: 2
Legion739 8 points a month ago

Sure thing, there's lots more details on my GitHub Write-Up including how to wire it up etc.

image image

path: 0 25773076 25773224, hotness: undefined, score: 8, children: 1
Legion739 7 points a month ago

My setup is as resilient as this would be: image

I haven't added any failure-modes

path: 0 25785379 25788442, hotness: undefined, score: 7, children: 11
Legion739 6 points a month ago

Uggg don't give me ideas, I've already sunk way too much time into designing this 😅️🤣

So you could just put a relay between my power-module and your server, and it's problem solved.

A redesign to incorporate one of these would be great, there are also variants that monitor power draw, so you'd be able to see each servers power usage and switch it on or off remotely. image

Why are you doing this to me?

path: 0 25785781 25788524, hotness: undefined, score: 6, children: 5
Legion739 6 points a month ago

I don't think I understand your question.

If you plug all your servers into a power strip like this, all the power goes through the power strip and through one cable. If there is a fault in the power strip, all the servers will lose power as a fuse will trip.

The same is true for my setup, I have added no new failure modes.

path: 0 25785379 25788442 25790008 25790185, hotness: undefined, score: 6, children: 2
Legion739 4 points a month ago

The name has been in my family far longer than that program has existed, so the way I see it, if anything, they are copying me xD

path: 0 25777899 25778264 25779952 25788800, hotness: undefined, score: 4, children: 0
Legion739 4 points a month ago

I can't imagine how'd you'd link them up, without having to reach inside the case, and having it modular.

Ideally the zig zag isn't there, but did you see the before?

path: 0 25785379 25788442 25792563 25792761 25793313 25793919, hotness: undefined, score: 4, children: 0
Legion739 3 points a month ago

Thanks!! Designing it was a BITCH, I knew almost nothing about CAD going into this, but hopefully my designs can help some others cleanup the power side of their racks.

It was a lot of fun learning though, and now I've made proper use of my 3D printer.

path: 0 25772819 25772886, hotness: undefined, score: 3, children: 5
Legion739 3 points a month ago

Thanks for this, I founds some self-extinguishing PETG, that's really not much more expensive than PETG. Definitely worth the money

https://shop.filament-pm.com/...

path: 0 25772905 25773034 25785947 25788633, hotness: undefined, score: 3, children: 0

thanks for using Leebra!

go to feed...