this post was submitted on 09 Oct 2026
91 points (96.0% liked)

Selfhosted

63148 readers
893 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I made a Grafana Master-dashboard to monitor my Kubernetes cluster.

Features:

  1. Health bar at the top, that will turn amber or red when things go wrong, and send push notifications to my phone
  2. CPU, Memory and Network utilization
  3. Database and Storage backup statuses

I also added CPU/Memory usage request monitoring so that I can tune how much CPU/Memory a pod requests in the cluster.
image

And active alerts
image
I've muted these two, I need to add a 3rd node with more CPU and ram, currently if one node goes down there isn't enough redundancy for the cluster to just keep working.

Lots more detail here: https://erasmus.works/ It's all Open-Source, leave a Star on my repo if you like what you see.

top 10 comments
sorted by: hot top controversial new old
[–] trilobite@lemmy.ml 1 points 6 days ago

Thanks for sharing the link. Nice when people share their effort. Goid for getting ideas

[–] Legion739@piefed.zip 22 points 2 weeks ago (1 children)

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.
.

[–] hoshikarakitaridia@lemmy.world 10 points 2 weeks ago (1 children)

every win should be celebrated

Yeah we could have some more of that here on Lemmy because people tend to be quite negative.

Honestly that's awesome, I didn't manage to get grafana working when I tried exactly this, I'll definitely check out any guides you used ^^

[–] Legion739@piefed.zip 2 points 2 weeks 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

[–] INeedMana@piefed.zip 7 points 2 weeks ago (1 children)

running pods: 98

Oof, my lab is lightweight compared to yours but I've been thinking of putting up a grafana for mine too. Would you mind sharing how much resources it takes to run and roughly how much storage does, let's say, a month of data take? I know that it all depends on what one puts inside but just as a reference point

[–] Legion739@piefed.zip 3 points 2 weeks ago* (last edited 2 weeks 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.

[–] myrmidex@belgae.social 4 points 2 weeks ago
[–] jet@hackertalks.com 1 points 1 week ago

This is great! much more organized then my fever dream local dashboard!

slap dash

[–] It_is_gaslighting@discuss.tchncs.de 1 points 1 week ago (1 children)

I think remembering some kind of no-no regarding something, not Foss or such, regarding Grafana? I might be mixing up things, I am honesty unsure, sry for that.

Probs to OP though.

[–] Legion739@piefed.zip 2 points 1 week ago

Grafana is Foss, it's AGPLv3

I haven't paid a cent for it, and there are no features that I don't have, at least not to my knowledge.