https://mermaid.live/, makes you learn a new syntax that works like a markdown, but it’s pretty good. Especially, if you don’t like working with GUI applications.
SuperiorOne
- 1 Post
- 13 Comments
SuperiorOne@lemmy.mlto
Selfhosted@lemmy.world•How do you manage backup for kubernetes persistent volumes?English
2·1 year agoFor media files (bad idea for databases), I’m using Kubernetes CronJobs with restic. It mounts PVC to the cron job pod and backups target directories to S3 storage.
I don’t think its rpi or network switch, unless you’ve overclocked rpi with liquid nitrogen 😅. So, I assume its TrueNas device.
If it were a significant power difference, say 20-30 watts, you could easily find the process using htop/iotop. However, 6 watt difference is a relatively small value for a device with ~25 watts of idle power . It might be a process using just 1% system resources. That’s why I would look for systemd timers, cronjobs etc. to find scheduled tasks on specific times. Another possibility is automated S.M.A.R.T. self-tests. Those tests don’t show up in htop or iotop.
UPS devices normally uses wall (input) power, and switches to battery when input voltage is out of the target thresholds. So, input.load should represent the percentage of current wall power (in VA) relative to UPS’s max rated input power (VA). If your devices uses more power, input power from wall should increase as well.
If it’s peaking in certain times, it could be due some scheduled job temporarily increase CPU frequency, or automated tasks like file system snapshot might power-up/spin drives longer than regular usage.
- 2x18k - mirrored ZFS pool.
- 1x47k - 2.5" drive from an old laptop used for torrents, temp data, non-critical pod volumes, application logs etc.
- 1x32k - automated backups from ZFS pool. It’s kinda partial mirror of the main pool.
- 1x18k - (NVME) OS drive, cache volumes for pods.
Instead of single pool, I simply split my drives into tiers: cache, storage, and trash due to limited drive counts. Most R/W goes to the cheap trash and cache disks instead of relatively new and expensive NAS drives.
SuperiorOne@lemmy.mlto
Selfhosted@lemmy.world•Simpler alternative to prometheus-alertmanager and/or graphana?English
2·2 years agoI’m currently using InfluxDB + Telegraf + Grafana combination to monitor Linux systems and k3s pods. It’s basically same as Prometheus, but InfluxDB uses push model, which makes it easier to develop tools for collecting custom time series data.
For alerts and dashboards, I think Grafana is the simplest and most hassle free solution available at the moment.
I have a APC Back-UPS 1600VA. It powers two desktop PC/Server, a monitor, and router. So far, it gets the job done.
The biggest downside is; battery is not user replaceable, at least it’s not straight forward like the other models. If possible, prefer a UPS with the easy battery replacement option.
SuperiorOne@lemmy.mlOPto
Selfhosted@lemmy.world•nut_webgui v0.3.1, Light-weight NUT web GUIEnglish
5·2 years agoBiggest difference is being able to execute INSTCMD commands, at least that was the main reason why I developed my own tool. Another less important differences are: older ARM support and since it’s written in Rust, it’s much more efficient in terms of resource usage. TBH, being that efficient only makes sense for very low-power devices.
Besides that, I don’t think you can go wrong with either project.
SuperiorOne@lemmy.mlOPto
Selfhosted@lemmy.world•nut_webgui v0.3.1, Light-weight NUT web GUIEnglish
1·2 years agoThanks! I appreciate any kind of feedback.
SuperiorOne@lemmy.mlto
Selfhosted@lemmy.world•Have you tried LocalGPT PrivateGPT or other similar alternatives to ChatGPT?English
51·3 years agoI’m actively using ollama with docker to run llama2:13b model. It’s generally works fine but heavy on resources as expected.
I personally use Traggo, but TimeTagger is also a great option: https://timetagger.app/articles/selfhost/
If I’m recall correct, Sugo 13 only has single 3.5 slot. I’d say look for Sugo 14 (2x3.5) or Node 304 (6x3.5)
Make sure all of your components fits to the planned case including power supply.

Silverstone has some interesting cases like RM61-312 and RM43-324-RS, but wtf are these prices…