today's leftovers
-
Why use docker for a home server?
With all that context I summarised, what’s the role of docker in my use case and do I still need it? I’m running some services with attached databases, some with file storage, some talking to each other on their own network. Most of them can be trivially moved to a simper system. Specifically most features I care about can be provided by systemd parameters and the reproducibility by NixOS.
It wasn’t always that way though. In the old days we had lxc containers and openvz and if you wanted something that looks like a container, you needed to actually run the whole secondary system. Docker definitely helped by minimising that scope to just the app and its dependencies. (more than a chroot, less than a VM) It enabled a single description for running a single app. Then docker-compose allowed spawning the whole mini-environment with all the required blocks. It was an amazing change and it made hosting multiple things on one host really nice - perfect for home usage.
-
Blog: Kubernetes 1.25: Local Storage Capacity Isolation Reaches GA
Local ephemeral storage capacity isolation was introduced as a alpha feature in Kubernetes 1.7 and it went beta in 1.9. With Kubernetes 1.25 we are excited to announce general availability(GA) of this feature.
Pods use ephemeral local storage for scratch space, caching, and logs. The lifetime of local ephemeral storage does not extend beyond the life of the individual pod. It is exposed to pods using the container’s writable layer, logs directory, and EmptyDir volumes. Before this feature was introduced, there were issues related to the lack of local storage accounting and isolation, such as Pods not knowing how much local storage is available and being unable to request guaranteed local storage. Local storage is a best-effort resource and pods can be evicted due to other pods filling the local storage.
The local storage capacity isolation feature allows users to manage local ephemeral storage in the same way as managing CPU and memory. It provides support for capacity isolation of shared storage between pods, such that a pod can be hard limited in its consumption of shared resources by evicting Pods if its consumption of shared storage exceeds that limit. It also allows setting ephemeral storage requests for resource reservation. The limits and requests for shared ephemeral-storage are similar to those for memory and CPU consumption.
-
Ubuntu Weekly Newsletter Issue 753
-
The Fridge: Ubuntu Weekly Newsletter Issue 753
Welcome to the Ubuntu Weekly Newsletter, Issue 753 for the week of September 11 – 17, 2022.
-
LAB to Delta E conversion in R - finnstats
LAB to Delta E conversion in R, First we need to understand what is Delta E. The “distance” between two colours is represented by a single integer called delta-E.
It’s alluring to just contrast the euclidean distance between an RGB’s red, green, and blue components.
Unfortunately for us, rgb doesn’t correspond to how we truly sense colour. It was designed for the convenience of use with electrical equipment.
-
1.64.0 pre-release testing | Inside Rust Blog
The 1.64.0 pre-release is ready for testing. The release is scheduled for September 22. Release notes can be found here.