jlh

joined 2 years ago
[–] jlh@lemmy.jlh.name 10 points 1 month ago (3 children)

I would probably remove python 2 support, it was end of life when the project was started.

[–] jlh@lemmy.jlh.name 1 points 1 month ago

I dont think Immich supports turning a normal account into an sso account, though it may be possible with manual database editing.

[–] jlh@lemmy.jlh.name 0 points 2 months ago

Kubernetes is great for single nodes! It definitely is more advanced than docker compose, but it's actually not hard at all if you read through the documentation. It definitely makes running containers easier in the long run.

Here is my git repo for my big Kubernetes cluster at home: https://codeberg.org/jlh/h5b/src/branch/main/argo/custom_applications

It started out as just a NFS server and a Kubernetes server running on Proxmox in 2021.

[–] jlh@lemmy.jlh.name 0 points 2 months ago (3 children)

It's not going to make a meaningful difference in your threat model and it will cause a lot of hassle for extra configuration and broken docker images, so I wouldn't bother.

There is some nice tooling for transparent user name spaces coming down the pipeline in Kubernetes which will be a nice 0-effort security upgrade, but if you don't have the tooling, I would say it's not worth it.

https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/

[–] jlh@lemmy.jlh.name 2 points 2 months ago

SSDs are getting crazy cheap.

If you need 10tb of storage, you could get 2x used 10tb hdds in raid 1 for $200, but 6x used 2tb nvme in raid 5 is only $600 and 100x faster. Both take up the same amount of space.

[–] jlh@lemmy.jlh.name 7 points 2 months ago

SMR is designed for enterprise raid that is SMR-aware.

I'm not aware of any open-source zoned storage raid but I think Ceph is planning to add support next month.

https://zonedstorage.io/docs/getting-started/smr-disk

[–] jlh@lemmy.jlh.name 10 points 2 months ago

Hetzner Storage box is $20/month for 10tb.

[–] jlh@lemmy.jlh.name 6 points 2 months ago* (last edited 2 months ago)

Probably not that hard to build a simple flask frontend around it.

Automatically processing files in an S3/WebDAV directory would also be useful.

[–] jlh@lemmy.jlh.name 1 points 2 months ago

https://docs.k3s.io/installation/uninstall

There is also a k3s option for Nixos, which removes the security and side-affect risks of running a random bash script installer.

[–] jlh@lemmy.jlh.name 5 points 2 months ago

Very true. Each brick you lay upgrades your setup and your skillset. There are very few mistakes in Kubernetes as long as you make sure your state is backed up.

[–] jlh@lemmy.jlh.name 2 points 2 months ago* (last edited 2 months ago)

For question 1: You can have multiple resource objects in a single file, each resource object just needs to be separated by ---. The small resource definitions help keep things organized when you're working with dozens of precisely configured services. It's a lot more readable than the other solutions out there.

For question 2, unfortunately Docker Compose is much more common than Kubernetes. There are definitely some apps that provide kubernetes documentation, especially Kubernetes operators and enterprise stuff, but Docker-Compose definitely has bigger market share for self-hosted apps. You'll have to get experienced with turning a docker compose example into deployment+service+pvc.

Kubernetes does take a lot of the headaches out of managing self-hosted clusters though. The self-healing, smart networking, and batteries-included operators for reverse-proxy/database/ACME all save so much hassle and maintenance. Definitely Install ingress-nginx, cert-manager, ArgoCD, and CNPG (in order of difficulty).

Try to write yaml resources yourself instead of fiddling with Helm values.yaml. Usually the developer experience is MUCH nicer.

Feel free to take inspiration/copy from my 500+ container cluster: https://codeberg.org/jlh/h5b/src/branch/main/argo

In my repo, custom_applications are directories with hand-written/copy-pasted yaml files auto-synced via ArgoCD Operator, while external_applications are helm installations, managed via ArgoCD Operator Applications.

 

https://web.archive.org/web/20240719155854/https://www.wired.com/story/crowdstrike-outage-update-windows/

"CrowdStrike is far from the only security firm to trigger Windows crashes with a driver update. Updates to Kaspersky and even Windows’ own built-in antivirus software Windows Defender have caused similar Blue Screen of Death crashes in years past."

"'People may now demand changes in this operating model,' says Jake Williams, vice president of research and development at the cybersecurity consultancy Hunter Strategy. 'For better or worse, CrowdStrike has just shown why pushing updates without IT intervention is unsustainable.'"

 

Seems like a really serious vulnerability, any container attack or malicious image could take over a container host if there's no hardening on the containers.

view more: next ›