DevOps / SRE — Top Links Last Week
Week 30 — Issue #89
32 links this week. AI-assisted and Human edited. 👇️
Google’s in-house desktop Linux
Google has been using Linux for its desktop computers for over a decade and has created its own Linux distribution (gLinux) and workflow system (Sieve) to manage upgrades and patches. Google plans to contribute more to the upstream Debian project.
Monitoring MySQL using Prometheus, Grafana, and mysqld_exporter in Kubernetes
This guide covers monitoring a MySQL database in a Kubernetes environment using Prometheus and Grafana. It walks through creating a namespace, MySQL StatefulSet, configuring Prometheus to scrape metrics from mysqld_exporter, and setting up Grafana to use Prometheus as a data source._
You Don’t Need Microservices
Microservices are expensive, difficult to maintain, and not always necessary. However, you can achieve many of the benefits of microservices by simply increasing the size or number of boxes available across the board, routing traffic to independently scalable clusters of your app instance, or separating asynchronous tasks into background jobs with independently scalable queues.
Goodbye Sealed Secrets, hello SOPS
Sops is a binary that encrypts configuration files. It understands format (JSON, YAML, INI, etc.) and will only encrypt the values of each line (in a key/value pair).
Sops provides the following advantages:
-The private and public keys created by Age are stored inside the file key.txt. We moved this file inside a .sops directory inside the home folder.
-To tell Sops where everything is, add these ENV variables to your shell configuration (/.bashrc or /.zshrc)
Convert Pod to Deployment in Kubernetes
How to convert a pod to a deployment:
- Get the current pod’s YAML
- Copy a deployment example YAML and put the pod’s metadata and spec into the deployment’s template section
- Deploy the merged deployment manifest
Basics of Load Balancing
Load balancing is routing client requests to the best available server at a given time for the best utilization of available resources. This is done abstractly to clients, so they are unaware of the number of servers in the backend. Load balancing can be implemented by adding more machines and installing the service on them, then routing requests through a proxy. This strategy makes the system more reliable and resilient to handle high loads.
Check out our new project, Keywords.direct — AI-Generated, SEO Optimized Blog Titles.