2 ms·
Same! 3x raspberry pis and 2x x86 cluster. That's the advantage of a homelab environment - the whole monolith/microservice complexity & technical debt thing ju
by Havoc 3y ago
Same! 3x raspberry pis and 2x x86 cluster.
That's the advantage of a homelab environment - the whole monolith/microservice complexity & technical debt thing just doesn't matter in that context. Anything interesting is fair game.
One more more "Why" motivation to add: Portability. I can stick it on my desktop (minikube), my homelab cluster, or a DIY cloud cluster or CP. Feels a bit like docker in that sense - common lowest denominator to build against.
> If anyone knows of a CLI that would give me that level of information, please leave a comment.
k9s tool is much better. Takes a bit of getting used to since it has the whole ssh old school vibe but its 10x more useful that the official dash.
>prometheus/alertmanager: I don't have this setup
I've found Promtail daemonset connected to Loki/Grafana to be good. Especially if you stick ever deployment into it's own namespace, since you can then use that as label in Grafana/Loki. Had a couple issues that I could only track down once I had external logging.
https://grafana.com/docs/loki/latest/clients/promtail/installation/#daemonset-recommended https://grafana.com/docs/loki/latest/clients/promtail/instal...
Another neat trick is using Kompose to translate docker-compose to yaml. Helm works too, but I find them a little opaque.
- fahhem 3y agoThanks for the comment! > k9s tool is much better I know about k9s, but it doesn't have a "Workloads" tab that shows both failing pods and their source (deployment, daemonset, etc). > I've found Promtail daemonset connected to Loki/Grafana to be good. I'll look into this, thanks! > Another neat trick is using Kompose to translate docker-compose to yaml. Helm works too, but I find them a little opaque. I didn't mention how I wrote/got all the services' yaml, but it was a combination of kompose (and one in instance an online tool that converted a 'docker run' command I had hand-crafted a while ago to docker-compose, to chain into Kompose), chatgpt for the basic ones, and helmCharts via kustomize.