<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Andrea Cervesato</title><link>https://cervesato.it/</link><description>Recent content on Andrea Cervesato</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 10 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://cervesato.it/index.xml" rel="self" type="application/rss+xml"/><item><title>Ambilight on a Rooted LG C9 With a Discount-Store LED Strip and Home Assistant</title><link>https://cervesato.it/posts/lg-c9-ambilight-esphome-home-assistant/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/lg-c9-ambilight-esphome-home-assistant/</guid><description>&lt;p&gt;I wanted the light behind my TV to follow the picture. Philips builds this into its TVs and calls it Ambilight. Mine is an LG OLED55C9 from 2019, so I had to build it.&lt;/p&gt;
&lt;p&gt;The ingredients: a 5 meter LED strip from Action, the TV itself (rooted, so it can run its own capture software), and Home Assistant to decide who controls the strip. When the TV turns on, the strip follows the screen. When the TV is off and Music Assistant plays on the Sonos in the living room, the strip follows the music. Nothing goes through a cloud, Tuya&amp;rsquo;s included.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;As I write this, the strip is still rolled up under the TV. All 25 segments show the average color of the screen, so for now my ambilight is a very well-engineered glowing coil. Mapping the LEDs to the edges of the screen comes after mounting.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Gateway API Took Away Self-Service TLS. ListenerSets Give It Back.</title><link>https://cervesato.it/posts/gateway-api-listenerset-self-service-tls/</link><pubDate>Thu, 23 Apr 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/gateway-api-listenerset-self-service-tls/</guid><description>&lt;p&gt;When we moved from Ingress to Gateway API, I expected the usual migration pain: new resource kinds, different annotations, a few broken routes. What I didn&amp;rsquo;t expect was losing something so basic that I hadn&amp;rsquo;t even thought about it as a feature.&lt;/p&gt;
&lt;p&gt;With Ingress, a developer dropped a manifest in their namespace, added &lt;code&gt;cert-manager.io/cluster-issuer: letsencrypt&lt;/code&gt;, and walked away. cert-manager saw it, issued a certificate, done. The developer never talked to the platform team.&lt;/p&gt;
&lt;p&gt;With Gateway API, that certificate lives on the Gateway object, in the platform namespace, managed by the platform team. Want a cert for &lt;code&gt;paste.k8s.one&lt;/code&gt;? Open a ticket, wait for a merge, and hope nobody fat-fingers the shared Gateway config while they&amp;rsquo;re at it.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;I&amp;rsquo;ve been the platform team fielding those tickets. It&amp;rsquo;s not fun for anyone.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>TPM Auto-Unlock With Dual Boot: Making LUKS Stop Asking For My Password</title><link>https://cervesato.it/posts/tpm-reenroll-dual-boot-luks/</link><pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/tpm-reenroll-dual-boot-luks/</guid><description>&lt;p&gt;When I first set up TPM auto-unlock, my LUKS-encrypted disk seemed to forget I existed after every reboot. Windows gaming session? Password. Plugged in the eGPU? Password. Kernel update? Password. I&amp;rsquo;d re-enroll the TPM, it would work for a day or two, then break again.&lt;/p&gt;
&lt;p&gt;This is the same Framework 13 + &lt;a href="https://cervesato.it/posts/egpu-thunderbolt-nvidia-bar-fix/"&gt;RTX 3070 eGPU&lt;/a&gt; that already needed its own pile of workarounds just to show a picture on a monitor. Of course it also breaks TPM measurements.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;The password is 20 characters. Typing it takes about four seconds. I could have just kept typing it. Instead I spent a weekend setting up Secure Boot with custom keys, writing a systemd service, and packaging the whole thing for AUR. Because of course I did.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p align="center"&gt;&lt;a href="https://xkcd.com/1205/"&gt;&lt;img src="https://imgs.xkcd.com/comics/is_it_worth_the_time.png" width="571" height="464" alt="xkcd 1205: Is It Worth the Time?" style="max-width: min(100%, 500px); height: auto;"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>From Alerting to Inference: Metrics Never Stopped Mattering</title><link>https://cervesato.it/posts/metrics-never-stopped-mattering/</link><pubDate>Tue, 07 Apr 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/metrics-never-stopped-mattering/</guid><description>&lt;p&gt;Your LLM is slow, users are complaining and the queues keep growing. Someone on the team is already profiling the model, looking at batch sizes, considering a bigger GPU. Nine times out of ten, the answer is already in the metrics.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve spent most of my career staring at metrics, on bare-metal servers, Kubernetes clusters and managed services on public cloud. The lesson I keep re-learning is that the infrastructure is lying to you and you&amp;rsquo;re not asking it the right questions. LLM serving is the same lesson in a different domain.&lt;/p&gt;</description></item><item><title>Making an NVIDIA eGPU Actually Work on Linux (The Hard Way)</title><link>https://cervesato.it/posts/egpu-thunderbolt-nvidia-bar-fix/</link><pubDate>Fri, 27 Mar 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/egpu-thunderbolt-nvidia-bar-fix/</guid><description>&lt;p&gt;I have a Framework Laptop 13 (Intel 13th gen) and an RTX 3070 sitting in a Thunderbolt 3 eGPU enclosure. On Windows it just works. On Linux, I got this:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:04:00.0)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The GPU was right there on the PCI bus, and the driver loaded. Then it gave up, because BAR1 (the 256MB framebuffer aperture the GPU needs to function) had zero bytes allocated.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;A 220W GPU, reduced to a very expensive space heater.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Getting it to work took the better part of a weekend. The core of the fix is a bash script that removes and rescans part of the PCI tree before the desktop starts, and the sneakiest problem turned out to be one line in my own initramfs config.&lt;/p&gt;</description></item><item><title>About</title><link>https://cervesato.it/about/</link><pubDate>Sat, 21 Mar 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/about/</guid><description>&lt;p&gt;&lt;img src="https://www.gravatar.com/avatar/4150c6d0df7b0fc7f6168fd7f4cc863c?s=200" alt="Andrea Cervesato"&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m Andrea Cervesato, based in Milan, Italy. I work on infrastructure: mostly cloud, mostly Kubernetes, mostly trying to keep things from falling over.&lt;/p&gt;
&lt;p&gt;I started in 2004 doing sysadmin work on HP-UX boxes in a telco. Since then I&amp;rsquo;ve racked servers, run cables, debugged things at 3 AM, and slowly moved up the stack from bare metal to cloud. Along the way I picked up some certifications, some scars, and a healthy distrust of slides that say &amp;ldquo;it just works.&amp;rdquo;&lt;/p&gt;</description></item><item><title>Maslow's Hammer and the MCP Debate</title><link>https://cervesato.it/posts/mcp-not-everything-is-a-nail/</link><pubDate>Sat, 21 Mar 2026 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/mcp-not-everything-is-a-nail/</guid><description>&lt;p&gt;A few days ago a Principal Software Engineer at Red Hat posted this one-liner on LinkedIn, and the comments split in half:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;MCP is a layer of unnecessary indirection. A properly documented REST API is enough and works for everyone, not just agents.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It got 33 reactions and 13 comments, and the thread had good arguments on both sides. I added &lt;a href="https://www.linkedin.com/posts/rigeldiscala_mcp-is-a-layer-of-unnecessary-indirection-share-7438853936566059008-86oB"&gt;my take&lt;/a&gt; there, but a LinkedIn comment is too short for a nuanced opinion, so here&amp;rsquo;s the long version.&lt;/p&gt;</description></item><item><title>Kill Your Service Account Keys: Secure GitLab CI/CD on Google Cloud</title><link>https://cervesato.it/posts/killing-service-account-keys/</link><pubDate>Sun, 15 Dec 2024 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/killing-service-account-keys/</guid><description>&lt;p&gt;If your CI/CD pipeline authenticates to Google Cloud with a service account key stored in a CI variable, you have a problem. You might not know it yet.&lt;/p&gt;
&lt;p&gt;That JSON key file is a static credential. It doesn&amp;rsquo;t expire (unless you rotate it, which you don&amp;rsquo;t), and it carries no context about &lt;em&gt;who&lt;/em&gt; or &lt;em&gt;what&lt;/em&gt; is using it. If it leaks (and CI variables leak more often than anyone admits), an attacker gets the same access your pipeline has, forever or until someone notices.&lt;/p&gt;
&lt;p&gt;So I built a POC of the alternative: a pipeline from GitLab to Google Cloud with no service account keys and no secrets in CI variables, which signs its images and refuses to deploy vulnerable ones.&lt;/p&gt;</description></item><item><title>Four People, Four Datacenters, Three Thousand Servers</title><link>https://cervesato.it/posts/hello-world/</link><pubDate>Thu, 08 Jun 2023 00:00:00 +0000</pubDate><guid>https://cervesato.it/posts/hello-world/</guid><description>&lt;p&gt;In 2015 I joined Irideos (then KPNQwest Italia) as a Cloud Architect. The job sounded fancy. The reality was four datacenters, roughly three thousand servers, a team of four engineers, and a budget that could generously be described as &amp;ldquo;creative.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;This is how we made it work, and what I still carry from that experience today.&lt;/p&gt;</description></item></channel></rss>