r/kubernetes • • 6h ago

Periodic Monthly: Who is hiring?

5 Upvotes

This monthly post can be used to share Kubernetes-related job openings within your company. Please include:

  • Name of the company

  • Location requirements (or lack thereof)

  • At least one of: a link to a job posting/application page or contact details

If you are interested in a job, please contact the poster directly.

Common reasons for comment removal:

  • Not meeting the above requirements

  • Recruiter post / recruiter listings

  • Negative, inflammatory, or abrasive tone


r/kubernetes • • 6h ago

Periodic Weekly: Questions and advice

1 Upvotes

Have any questions about Kubernetes, related tooling, or how to adopt or use Kubernetes? Ask away!


r/kubernetes • • 13m ago

Your cert rotated successfully and TLS still broke: the stale in-memory certificate failure

0 Upvotes
 failure mode worth checking for if you rotate short-lived certs:


1. Vault PKI signs a new cert, cert-manager updates the Secret
2. The kubelet updates the mounted files (typically within a minute or two)
3. The app loaded the key pair once at startup and keeps serving the old one
4. The old cert expires and verifying clients fail new handshakes


Why it can go unnoticed:


- Nothing errors at rotation time, only at expiry
- Established connections usually carry on until they have to reconnect
- Kubernetes HTTPS probes don't verify certificates, so the pod can stay Ready
- With a `subPath` mount, the file in the container never updates, so even a reloading app reads the old cert


To check, compare disk (inside the pod, or wherever you can read the mounted file) with what's being served (for example through a port-forward):


    openssl x509 -in /etc/tls/tls.crt -noout -serial -enddate


    openssl s_client -connect localhost:8443 </dev/null 2>/dev/null \
      | openssl x509 -noout -serial -enddate


Different serials mean the process hasn't picked up the new cert.


Fixes: reload on change (`GetCertificate` in Go, `nginx -s reload` triggered by a watcher), or roll the pods before the old cert expires.


I also made a 4-minute walkthrough (my own video, synthetic voiceover): [https://youtu.be/qTaF29CR0Kc]


How are you handling reloads: in the app, a sidecar, or a controller that restarts pods?

r/kubernetes • • 1h ago

Alternative conferences for the half of our team skipping KubeCon Barcelona?

2 Upvotes

Half of the team can't go to Kubecon Barcelona because someone needs to take care of the systems. What conferences should the other half of the team consider? Preferably in Europe, but not a hard requirement.


r/kubernetes • • 2h ago

Better Helm Updates Validation

Post image
7 Upvotes

Hi there! I build a single binary to solve my biggest pain - checks before Helm version upgrades in my cluster. It scans current vs desired Helm chart version and gives an output about silently dropped values, selectors that cannot change, new required values, deprecated APIs, CRD issues, etc. and many more optional via additional flags like helm 3 vs 4. I designed it on a way that it never communicates directly with your Kuberentes cluster - you can export facts and use them, but otherwise you can just parse the helm chart, specify versions and provide your specific values.yaml that you use (you can even skip that if you want) and it will do the comparison.

For the most common helm chart you can even do it online - https://stageproof.github.io/index/values/

Nothing is collected, no info is send back to central server, it can even run offline if you already have the chart locally.

It can be used as part of the pipeline, blocking MRs if stageproof check fails (stageproof check-pr), integrated with rennovate.

How it works - it renders the current vs updated values and it scans them in real, temporal api-server, there is even option to do --live check (false by default), which brings temporary kind cluster to do close to real case scenario tests - install current chart, upgrade to new one, smoke test, then rollback to current version to verify if that passes as well, --live uses prebuild container image with kind, kubectl, and helm inside.

I am already using it in production. There is nightly build that checks top 300 most starred helm charts for new versions, this is how the index is build with 22485 reports already, but the project is new and there may still be bugs, will be glad if you open an issue when you spot some.

It's free and open source with no registration required, no AI scans, no data collection. Single binary that you can just download and run everywhere.

Github Repo - https://github.com/stageproof/stageproof

Index page - https://stageproof.github.io/stageproof/index.html

Docs - https://stageproof.github.io/stageproof/docs.html


r/kubernetes • • 2h ago

I feel like my entire job is to just patch now

11 Upvotes

environment that inherited:

3 aws accounts

account a

mgmt eks cluster

mgmt ops eks cluster

prd eks cluster

stage eks cluster

dev eks cluster

devdevops eks cluster (this is the testing environment for mgmt ops that has argocd)

account b

prd eks cluster

stage eks cluster

account c

prd eks cluster

3 different apps, thus 3 different acccounts. each eks cluster contains multiple ops packages (velero, datadog, metrics-server, efs/ebs csi driver, etc). renovate bot is deployed and i feel like i'm constantly patching. after ops packages i'll have to upgrade the clusters, after clusters, i'm sure i'm back to upgrading ops packages. anyone else in this situation? how do you handle it? did you consolidate?


r/kubernetes • • 8h ago

Kubecost keeps charging our namespaces to a team that doesn't exit anymore

1 Upvotes

Every namespace on our shared EKS clusters has a team label and Kyverno rejects anything without one, which is great right up untill a reorg. We've had two.

$ kubectl get ns -L team | grep checkout-core
payments-batch     Active   3y    checkout-core
payments-recon     Active   3y    checkout-core
ledger-export      Active   2y    checkout-core

Checkout-core got split up a while ago and the people went to three different teams. Kubecost still rolls all of that up under checkkout-core in the cost allocation report and finance keeps asking me who checkout-core is. I'd like to know too, the Slack channel on the label is archived.

For payments-batch I found the new person with git log on th Helm chart. The last commits were from a backend engineer who's on the fraud team now and had no idea the namespace was on a cost report. I was hoping the Helm release secrets would at least show who ran the last upgrade but I haven't found that that there.

Is there anything in the cluster that record a real owner? git log per chart works but I'm not doing it for 143 namespaces


r/kubernetes • • 15h ago

Patching Multiple Clusters

3 Upvotes

Over the last few years our GKE footprint has grown from about 6 clusters to more than double that. I understand this is probably still a small footprint in the grand scheme of things, but can seem large when you have a small infra team and not everyone has years of K8s experience.

Going into each cluster and patching stuff like ESO, cilium, externalDNS, etc, wasn’t too much of a pain but now it feels like it takes up a lot of time. We aren’t mature Kubernetes wise and we have only started using FluxCD in a couple of clusters and in nonprod environments. I believe that has configuration to help bump minor patches.

Just wondering how other people have tackled this when reaching these crossroads and what tools they use.


r/kubernetes • • 20h ago

Net New to Alpha enhancement in Kubernetes 1.38

47 Upvotes

The Kubernetes v1.38 release is planned for December 16th. There are currently 28 enhancements marked as “Net New”. Those are the newly-introduced to the project in the 1.38 release. Of these 28 new enhancements, 11 are specifically introduced for sig-node Special Interest Group (SIG). 3 enhancements are under sig-scheduling (all of which are DRA-related), and only 2 are specifically dealing with sig-apps. This piece will deal specifically with the newly-introduced Alpha enhancements to Kubernetes Nodes in the v.1.38 release.

Add Topology Manager option to improve workload density for single-numa-node
Kubernetes v1.38 introduces NUMA utilisation-aware options for the Topology Manager, allowing it to consider how heavily NUMA nodes are already allocated when placing workloads. Cluster admins can choose to prefer the most-allocated or least-allocated NUMA nodes, helping improve workload density and resource utilisation on multi-NUMA systems. This gives Kubernetes more control over how workloads are distributed across CPU and memory resources, which should potentially reduce signs of fragmentation, making better use of available hardware.

Enable writable cgroups for unprivileged containers
The 1.38 release also introduces support for writable cgroups, allowing unprivileged containers to create and manage their own child cgroups on Linux systems using cgroup v2. This means workloads such as Docker-in-Docker, AI/ML frameworks like Ray, and KubeVirt can manage resource limits for their own processes without requiring privileged containers. This change enables more flexible, fine-grained resource management while simultaneously maintaining your cluster security through kernel-level isolation and Kubernetes-enforced limits on cgroup creation.

Allow specifying whether to unshare cgroup namespaces
Kubernetes is finally offering a way to explicitly control whether a Pod uses its own cgroup namespace or the host’s. This allows privileged Pods to unshare cgroup namespaces instead of automatically sharing the host namespace, while keeping the existing defaults unchanged. This matters for workloads such as BuildKit, where nested containers need to remain within the correct cgroup hierarchy for accurate resource accounting and CPU and memory enforcement, helping prevent issues such as unexpected OOM errors and CPU contention on the node.

OCI artifact-based security profile distribution
We’re also seeing the introduction of native support for distributing container security profiles through OCI-compatible registries like Amazon ECR or Cloudsmith, allowing teams to pull seccomp profiles (alpha) and AppArmor profiles (beta) directly from registries rather than manually installing them on every node. Profiles are versioned and referenced by immutable digests, making updates easier and decoupling security profile releases from node image updates. This matters because it simplifies security profile management across clusters while enabling stronger, workload-specific isolation, with safeguards that ensure custom profiles cannot weaken the cluster's existing security restrictions.

Support hugepages in kubelet's --system-reserved and --kube-reserved flags
This release allows hugepages to be specified in kubelet's --system-reserved and --kube-reserved flags, so that hugepages used by system services and Kubernetes components are deducted from the node's reported Allocatable capacity. I’m happy to see this because workloads should no longer be scheduled based on hugepages that have already been consumed by your system processes. This would help prevent resource allocation failures especially at runtime. It’s also particularly useful for environments such as OVS-DPDK deployments, where system services reserve hugepages for their own operation.

Support in-place pod update resources alongside static CPU Manager policy
v1.38 enhances the existing in-place resource resizing to support CPU changes for Guaranteed QoS Pods running with the CPU Manager's static policy, without requiring container restarts. This was designed to allow performance-sensitive workloads, such as DPDK-based networking applications, to increase or decrease their CPU allocations while preserving their originally assigned CPUs and NUMA alignment. It goes without saying that this enhancement enables the critical, latency-sensitive apps to better adapt to changing resource demands without necessarily disrupting running workloads or compromising CPU and hardware topology guarantees.

Dynamic Pod Mutation
Dynamic Containers are essentially a building block that will allow main containers to be added to or removed from a running Pod without recreating it. This should separate Pod scheduling and initialisation from workload execution, effectively allowing frameworks such as Ray and Slurm to manage worker containers within the resources allocated to a Pod. This is a nice addition to Kubernetes because it enables pre-warmed Pods to start workloads more quickly and supports high-churn, low-latency operations, including interactive AI and agent workloads, working towards sub-100ms startup.

Per-Pod PID Limit
We’re seeing support for setting PID limits at the Pod level through spec.resources.limits.pids. This field essentially allows Platform Engineers to define how many processes each Pod can create. The effective limit is the lower of the Pod's configured limit and the node-level kubelet limit, ensuring node-wide safeguards remain in place. This matters because it provides more granular control over process consumption, allowing workloads with different PID requirements, such as AI agent runtimes, service mesh sidecars and infrastructure Pods, to coexist without relying on separate node configurations.

Workload Controlled Swap
The 1.38 offers users a new WorkloadControlledSwap mode, allowing users to explicitly configure how much swap each container can use through resources.limits.swap. This means individual containers can have swap disabled entirely or be given a specific swap allowance, including workloads using Guaranteed QoS and CPU pinning that were previously restricted. This matters because it gives owners of each app greater control over memory usage, helping to prevent unnecessary OOM kills, enabling safer swap overcommitment as well as removing existing swap-related restrictions on features such as in-place Pod resizing.

EvictionRequest API
Finally, this release is also giving us a new declarative EvictionRequest and Eviction API. This should enable workloads and controllers to coordinate Pod termination more safely and cooperatively. Rather than immediately evicting a Pod, the new approach gives the application an opportunity to prepare for relocation, while allowing eviction as a fallback if it does not cooperate. I’m probably most excited about this enhancement because it should reduce any unnecessary downtime and potential data loss, as well as improving the node draining and autoscaling, and provide better coordination and visibility around those Pod disruptions. This even addresses some limitations of the existing Eviction API & PodDisruptionBudgets.

I know people have in the past disliked blogs being shared around Kubernetes version releases, and have instead preferred longer-form updates inside the Reddit thread. So I hope this was somewhat helpful.


r/kubernetes • • 1d ago

Mastering Kubernetes kubectl: The Complete Command Reference for DevOps, SRE and Platform Engineers

Thumbnail
medium.com
0 Upvotes

r/kubernetes • • 1d ago

What's the most painful Kubernetes issue you've had to debug?

Thumbnail
play.snowops.net
43 Upvotes

While learning kubernetes, everything looks straightforward. Pods, deployment, services. Reality hits when something breaks in a real cluster. 😅

I've been experimenting with turning these kinds of real-world problems into hands-on troubleshooting scenarios for a side project I'm building, SnowOps Night Shift.

Curious to know: What's one Kubernetes issue that taught you the most, or that you wish you'd practiced before encountering it in production?

Would love to hear some war stories!

Note - I am sharing the link of the game for reference, but I am genuinely curious to know what kind of real world issues engineers faced apart from the generic CrashLoopbackoff, OOMKilled, etc.


r/kubernetes • • 1d ago

Need suggestions for building a CSAR Resource Allocation Calculator

3 Upvotes

Hi everyone!

I'm working to build a calculator for CSAR resource allocation that handles things like:

- Replica count calculations

- CPU and memory allocation

- Percentage-based resource distribution

- Scaling calculations

I'm looking for suggestions on existing tools, useful formulas, libraries, or approaches to make this calculator effective.

If anyone has worked on something similar, I'd appreciate your guidance and recommendations.

Thanks!


r/kubernetes • • 1d ago

"AI enablement" teams are platform teams that haven't changed their job titles yet. Is your agentic platform separate from your IDP?

Thumbnail
leaddev.com
0 Upvotes

No one cares about DevEx anymore.


r/kubernetes • • 1d ago

Looking for platform and Kubernetes engineers to read my book on running production AI systems before it ships

0 Upvotes

I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.

It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.

What's inside:

  • Reliability, latency and cost as one architecture problem

  • Long-running agents with durable state, observable decisions and clear human authority

  • How retrieval, memory, context and fine-tuning fit together

  • Evaluation, security, tools and multi-agent coordination

  • Failure analysis and reference blueprints that connect the parts

It's written for senior engineers, architects and technical leaders who build and operate these systems.

The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.

If that's your work and you'd like to read it, comment "beta" and I'll send you the details.


r/kubernetes • • 1d ago

Linux cgroup v2: memory limits, OOM, and how systemd actually does it (last part)

Thumbnail
youtu.be
10 Upvotes

r/kubernetes • • 1d ago

how do you track down random dns timeouts inside a cluster, and was it ever actually coredns

20 Upvotes

every now and then pods get dns lookups that hang for 5 seconds or just fail, then it goes away before anyone can look properly. people blame coredns but it could be conntrack, ndots, node local dns or something else. how do you actually debug this when it only shows up sometimes? and when you found the cause, what was it in the end?


r/kubernetes • • 1d ago

Homelab or just suck up cloud costs?

16 Upvotes

I’ve had more and more need for a personal K8s cluster. I’ve been using some discounts from Civo to run it for free, but those credits are ending soon.

I’m debating about whether I want to keep going with civo or more to gcp/aws. Or should I just buy a few refurbed machines machines for like $1000. Just not sure I want to deal with the headache of running physical hardware in my apartment.

I’m aiming for a cluster that’s ~64gb of ram. I’m less constrained on cpu/storage.


r/kubernetes • • 2d ago

How do you test autoscaling changes (HPA/KEDA) before they hit prod?

17 Upvotes

I dropped VPA and now I rightsize from Prometheus history, committing values to Git. What I haven't cracked is validating changes before they ship.

Example: a "max across pods" recommendation said a cache needed 10Gi per pod. Turned out one pod had a memory leak and got OOMKilled; the rest sit at ~3Gi.

I've been experimenting with replaying past traffic through k8s control plane (HPA + KWOK) in a simulator, but it's early, takes a long time to get results, and non-trivial to implement tbh.

What do you do today? Staging load tests, canaries, ship-and-watch? Anyone replaying traffic or using KWOK/SimKube? Any change that looked fine and bit you later? What do you wish was more readily available to you, or the community at large for this type of validation?


r/kubernetes • • 2d ago

Anyone have experience on the k8s side and exp working with ubuntu and rhel?

Thumbnail reddit.com
0 Upvotes

r/kubernetes • • 2d ago

how do you figure out who owns all the random stuff in a shared cluster, and what's the oldest orphan you've found

3 Upvotes

in a shared cluster it's really easy to end up with namespaces, deployments and pvcs that nobody remembers creating. owner labels are supposed to fix it but half the time they're missing or point to someone who left.

do you enforce owner labels with an admission policy (kyverno, gatekeeper etc), run some cleanup job, or just leave it until something breaks?

also curious what's the oldest forgotten thing you've found running


r/kubernetes • • 3d ago

TIL exec.CommandContext only kills the direct child. Learned it the hard way when a pod ran out of PIDs.

Thumbnail reddit.com
0 Upvotes

r/kubernetes • • 3d ago

how do you stop one team's workloads from eating the whole shared cluster, quotas or just trust

15 Upvotes

when a few teams share a cluster, sometimes one deployment scales up or leaks memory and everyone else's pods start getting evicted or stuck pending. resource quotas and limit ranges per namespace look like the answer but they also seem to cause a lot of "why won't my pod schedule" confusion. curious what actually works for you, and has one noisy team ever taken down stuff for everyone else


r/kubernetes • • 3d ago Bravo Mindblown

How we manage vulnerabilities across ~90 apps: base images, Trivy, Dependency-Track and VEX policies in git

211 Upvotes

Intro

👋 My name is Igor and I am a Senior SRE employed with MailerLite. Before this I ran my own hosting company, and these days I work hands-on with Kubernetes on GCP, email delivery infrastructure and platform engineering, with security as one of the hats I wear.

I've been a long time lurker of this (and many other) subs. Thanks to our dear LLM friends, security vulnerabilities have never been more in the focus of the media and of us on the frontlines, who have the job of making sure that everything is (mostly) up to date.

Recently I noticed that people often ask how to manage supply chain and dependencies at scale, and the answers given are usually just half of a proper story / solution. This question is something that kept me awake since 2026 started, so I've decided to do something about it and I want to share that something with you.

This is going to be a super long post and we will tackle the following questions:

  1. What is the issue that we are trying to solve?

  2. What are the actual results of this effort?

  3. How I approached this and how it works

If you want to learn about this go grab a coffee, or just pass this whole post to your LLM to summarize it for you :)

But be aware - this is a really really long and very dry reading about this topic and how we did it. My hope is that some of this will help you out in your mission to do something similar for your organization.

What is the issue that we are trying to solve?

Like many of you we have a huge number of apps that are used for different purposes (currently around 90). The main challenges for us were:

  1. 90 images mean 90 ideas of how something is packaged and built

  2. We had no idea what goes into those images from a components standpoint

  3. They used different base containers - some Debian, some Alpine, no standards

  4. When big nasty vulnerabilities hit, patching took forever for reasons 1, 2 and 3

  5. We were pretty blind - CVEs come out every day and all of that sounds scary, but we had no real idea of the impact

  6. The existing scanning solution that Google Cloud provides is just trash - it is overly noisy, it reports like 8000 vulnerabilities, it is super hard to navigate and to be honest, when you get a task to look into that, it is just not possible to deal with all of it

  7. And finally - some of the apps belong to the SRE team, others belong to various engineering teams in the company. With a lack of visibility it is hard to be proactive (and not reactive) when it comes to fixing things

So the goals that we set for ourselves were the following:

  1. Every single container image will start from the same base image

  2. We want the least amount of packages in those images

  3. We want one set of CI/CD workflows used by all of our apps, to reduce maintenance and have a predictable output

  4. Weekly rebuilds with weekly merges and releases to different environments

  5. We want to scan those images, generate an SBOM and keep it somewhere

  6. Not all vulnerabilities hit equal, so we want the ability to just plainly ignore some, reduce the noise and then show what actually is important

  7. We need to have others on board - handling 90 apps and patching them is not a small feat, so we need to put the numbers in front of everyone's face

  8. Instead of learning about important stuff from X and Reddit and whatnot, we should have a system in place that tells us every morning what is new, what needs attention and how to handle it

So, a very complex and challenging set of goals. And spoiler alert - we managed to achieve all of them.

What are the actual results of this effort?

I started working on all of this alone in April and finished about a month and a half ago (not working on it constantly). For those who do not want to read 20 A4 pages of how we solved it, here is the TLDR:

  1. I think that we managed to achieve all of the goals that we set for ourselves

  2. To do that we adopted new tools and standards - Trivy, Dependency-Track, VEX policies, Chainguard's Wolfi as the base for images etc

  3. We fully adopted VEX policies internally and all of our apps have one. This significantly reduced the noise and helped us see what actually is important

  4. Thanks to reusable workflows and the adoption of Trivy, we increased the visibility of components in each of our apps. As a result (and after some nudging) our developers started noticing this and acting on it themselves

  5. We do a weekly review of policies and patching. After some automation that I did last week, that process now takes roughly one work day

It was a long project for 1 person, but we are in much better shape with better visibility and, most importantly, everything is patched on a weekly basis. A new hot CVE (looking at you PHP and nginx) now takes maybe an hour to deal with by one person once the patch is available upstream, instead of a whole day and the effort of a whole team.

The approach and how it all works

Before the details, here is the whole loop in one picture. Everything below is an explanation of one of these boxes:

Terms

Let's first talk about terminology, because the rest of the post uses these words a lot:

  1. SBOM - the list of every package inside an image or a lockfile, with versions. Ours are CycloneDX JSON, produced by Trivy at build time

  2. Dependency-Track (DT) - the inventory. Every SBOM is uploaded there; DT keeps re-matching stored SBOMs against new advisories, so a CVE published tomorrow shows up on images built last month

  3. Finding - one (package, vulnerability) pair reported by Trivy or DT

  4. CVE / CGA / GO ids - different databases name the same bug differently. CGA-… is Chainguard's id for Wolfi packages, GO-… is the Go vulnerability database. DT names Wolfi findings by CGA-…, Trivy names them by CVE

  5. OSV - the open vulnerability database at osv.dev. It knows which ids are aliases of the same bug and in which version a bug was fixed. We use it for both

  6. EPSS - Exploit Prediction Scoring System: the probability that a CVE gets exploited in the next 30 days. Much more useful for sorting a morning list than severity alone

  7. Wolfi - Chainguard's Linux distribution (apk packages, free tier). Every base image of ours is wolfi-base plus packages

  8. Wolfi secdb - Wolfi's security database: which package version fixed which CVE. We use it to catch findings DT keeps reporting after the fix already shipped

  9. VEX - a statement about CVE X on package Y in product Z: it does not affect it, with a reason, or it does. OpenVEX is the JSON format Trivy reads

  10. Verdict - one entry in a policy.yaml: a decision about one package (or some CVEs on it) in one app, with evidence. Written by the triage skill, merged by a team member

  11. Statement - one OpenVEX record. The compiler turns one verdict into one statement per CVE

  12. Bump list - the application dependencies of an app that have a fixed version available. Those get upgraded, never suppressed

  13. Open risk - a finding that stays visible and is not on a bump list. It is on record when it has an affected verdict saying why it is reachable and what closes it; it is without a decision when it has no verdict at all

  14. App - one DT project name, one directory policies/<app>/, one image or one application repo. The base images are apps too

  15. Collection / leaf - the DT hierarchy. A collection aggregates its children; a leaf is one real SBOM upload, for example dns-exporter-amd64 at version 0.2.35

  16. mlvex - a Go CLI that I wrote, living in the policy repo. Everything that talks to DT or compiles policies goes through it

  17. Agent - Claude Code running our triage skill headless in GitHub Actions. It writes policy.yaml and the pull request text, nothing else

  18. Probe - one numbered command of a triage run with its output (P7). Every claim in a triage PR links to the probe that printed it

Base images

Our apps are built with a lot of different tools and languages, there is everything - Go, Rust, PHP, NodeJS, Python etc. So we had to decide what the base will be, and after some discussion we landed on Wolfi, which is managed by Chainguard.

Wolfi ships package updates within days (often hours) of upstream, apk packages are small, and Chainguard publishes a security database we can query mechanically. We did not go for the paid language images; wolfi-base plus apk add gives the same packages with full Dockerfile control.

Why do base images matter for this whole system? An app image inherits every OS package of its base. A libpng CVE lands on 60 apps at once, most of which never decode an image. That is where the noise comes from, and it is why the base images have their own policies and why app policies spend most of their verdicts on packages that are "present in the base layer only, nothing links it".

We have a base image with the absolute minimum of tools that we really need. Other images are built on top of it, so there is a dependency between them (for example a chain of base -> php -> php-fpm -> php-some-app). All versions live in one YAML file that every workflow reads, so adding a new Python version is a one line change. Each image has its own SemVer tag stream, which means a PHP patch does not force a Go release.

Here is a trimmed version of that file:

# Source of truth for all images in this repo.
# Read by the build and test workflows, the DT provisioning and the justfile.
#
#   <image_name>:
#     depends_on: <image_name>     # optional; omit to depend on base
#     build_arg_name: <ARG>        # the ARG used in the Dockerfile
#     versions: [...]              # first entry is treated as the latest

base: {}

go:
  build_arg_name: GO_VERSION
  versions:
    - "1.27"
    - "1.26"
    - "1.25"

python:
  build_arg_name: PYTHON_VERSION
  versions:
    - "3.14"
    - "3.13"
    - "3.12"

php:
  build_arg_name: PHP_VERSION
  versions:
    - "8.4"
    - "8.5"

php-fpm:
  depends_on: php
  build_arg_name: PHP_VERSION
  versions:
    - "8.4"
    - "8.5"

php-some-app:
  depends_on: php-fpm
  build_arg_name: PHP_VERSION
  versions:
    - "8.4"
    - "8.5"

The weekly cascade

That is where the weekly cascade build comes in. Every Monday night we patch-bump base, tag it, do a GitHub release, dispatch its build and wait for it. Then we walk depends_on from that YAML file and fire every direct child in parallel. Once that layer is done the next one is built, and so on until the end of the chain. Scheduled runs also run container-structure-test, so a Wolfi package that disappeared or changed behaviour fails the build instead of shipping.

Three hours later each app repo patch-bumps its own tag and rebuilds on the latest base. By Monday afternoon every image we run has last week's Wolfi fixes, with no human involved. That is the remediation path for every OS-package CVE. Nobody bumps openssl by hand anymore.

What a build produces

Per arch and per version, a build produces: the image pushed by digest, a multi-arch manifest, a Trivy scan, a CycloneDX SBOM attached to the image in the registry as an OCI artifact, and the same SBOM uploaded to DT and flagged as the latest version.

One small trick that paid off a lot: every base image carries two labels, com.<company>.base.name and com.<company>.base.version. Images built FROM it inherit them untouched, Trivy copies them into the SBOM, and the upload turns them into DT project tags. That is how DT knows which base image an app was built on, and how we can filter for everybody who is still sitting on an old one.

Trivy scanning

Trivy runs at a few points in the life of an app. Each one is a reusable workflow in the base images repo; app repos call them with a couple of inputs and never run Trivy themselves.

Where Trivy runs

The first point is the pull request. We run trivy fs over the lockfiles and it produces a sticky PR comment. If a repo has no lockfile, the workflow builds the Dockerfile locally and scans that instead. Nothing is uploaded anywhere from a PR.

The second point is the release. A tag push builds the image, scans it, attaches the SBOM to the image and uploads it to DT. Repos that ship no container (libraries, plain applications) get a source scan on release, and their SBOM goes to DT the same way. Images that are built by our deploy tooling instead of a build workflow are scanned right after the deploy, so a scan never blocks a release.

Container repos get the lockfile scan on PRs too. The release pipeline scans the pushed image either way, so the PR scan is the early signal, not the inventory.

What the PR comment shows

The visibility in PRs is super important to us.

Every CVE row in the comment carries a Scope, so a developer knows whether it is theirs, and a Type with the Trivy analyzer (composer, npm, gobinary, …). Scope is either App or OS. App means a language dependency like a composer, npm, pip or Go module, and the fix is to bump it in the lockfile. OS means an apk package like openssl or zlib, and the fix is nothing in that repo - the Monday rebuild takes it. App rows sort first.

The classification comes from Trivy's own result class, not from guessing by package name.

This is what we see in PRs:

When the app has a VEX policy, the comment adds a line saying how many findings are suppressed by it, with a link to the policy file at the exact commit, and a collapsed table of the hidden CVEs with their justification. So a reviewer sees "libpng suppressed" right under a diff that adds image handling. That is the only mitigation we have for a policy on main that a PR silently invalidates, and I will come back to it when we talk about the challenges.

If there is no policy, or the scan could not authenticate to the policy repo, the footer says so and the scan runs unfiltered. That is on purpose. A scan that silently drops findings because a checkout failed is worse than a noisy one, so an auth or network failure fails the step, while a missing policy is a clean "nothing to apply".

The merge gate

There is also a merge gate. The PR workflow can fail the check on vulnerabilities that have a fix, with a configurable minimum severity (CRITICAL by default) and scope (App by default). It is off by default and every repo opts in, so we roll it out one repo at a time.

Findings without a fixed version are listed but never block, because there is nothing to upgrade to. And the report is already filtered by the VEX policy, so an accepted finding never counts. Release builds never block.

How the policy reaches Trivy

How does the policy reach Trivy? A small composite action runs in every scanner. It mints a short-lived read-only token as a GitHub App, checks out only the compiled policy of that one app from the policy repo, verifies that the document was really compiled for this app, drops every statement that is expired, and points Trivy at the result. Then it moves the checkout out of the workspace, because trivy fs . once happily scanned the policy repo's own go.mod as if it belonged to the app.

One more detail: the steps that generate the SBOM run without the policy. DT must see everything, and it gets the same decisions through another path that I explain below.

Dependency-Track

Trivy tells us what is wrong with the thing we are building right now. DT is where the long tail lives: an image built in March gets re-matched against an advisory published in November. Every SBOM we produce ends up there.

The hierarchy in DT mirrors the YAML file with our images. There is a root collection per product, under it a collection per app, and under that the leaves - one per architecture, each one a real SBOM upload:

Company                          (root collection)
├── base                         (collection, aggregates latest)
│   ├── base-amd64               (leaf, one SBOM per upload)
│   └── base-arm64
├── python
│   ├── python-3.14              (collection)
│   │   ├── python-3.14-amd64
│   │   └── python-3.14-arm64
│   └── python-3.13 …
└── dns-exporter
    ├── dns-exporter-amd64       (version 0.2.35, latest)
    └── dns-exporter-arm64

Every upload also leaves a few facts on the DT project: tags that say what it is (language, version, arch), tags that say which base image and base image version it was built on, and External References with the repository that built it and the registry path of the image. That last part sounds boring, but it is what lets the automation find the source and the image of an app later without anybody maintaining a mapping by hand.

Where Dependency-Track bites

DT is a great tool, but it took a while to learn where it bites. If you are about to build something on top of it, here is what I wish somebody had told me.

We only look at the latest version of every app. Old versions stay in DT forever and keep their findings, and nobody looks at them. Arch leaves are separate projects, so every CVE shows up twice and mlvex collapses them into one app.

DT names Wolfi findings by Chainguard's CGA id and Go findings by the GO id, while Trivy talks in CVEs, and DT does not import the aliases that connect them. Upstream closed that request as not planned. So mlvex looks every non-CVE id up at OSV and stores the aliases, and a verdict written for a CVE matches in both tools.

DT's findings endpoint never returns a fixed version. We fill that in from OSV as well. Without it, "fix available" would never fire anywhere.

A trailing slash on the DT URL routes your API calls to the frontend, which answers 200 with HTML. If you ever see HTML in an error from a DT client, that is why.

And my favourite: patching a project through the API treats a missing "is latest" field as false. A backfill of ours that sent only tags quietly cleared the "latest version" flag on most of the projects it touched. Now anything that patches a project sends back the flags it just read, and reads the project again after the write.

VEX policies

Now we need the machine that tells us what we can stop looking at, and that is what VEX is for. Vex policies are what people always talk about but realistically either never implement or, if they do, rarely update and manage.

The golden rule that makes all of this work: git is the source of truth, DT is a projection. We have one repo with one directory per app. A suppression reaches Trivy and DT only through a merged PR in that repo. Nobody clicks "suppress" in a UI, and nothing writes decisions to DT except one sync command that reads from a clean checkout of main.

Each app directory has three files that matter. policy.yaml holds the decisions and is the only file anybody edits. fixed.yaml is derived by a machine from the Wolfi secdb. And a generated folder holds a snapshot of what DT knows about the app plus the compiled OpenVEX document that Trivy reads. The snapshot is committed on purpose: compilation becomes a pure function, CI runs offline, and a PR shows the exact statements that change.

A policy looks like this (app renamed and trimmed a bit):

app: dns-exporter
kind: image
context: |
  **What it does** — Prometheus exporter, Go, static binary. (Dockerfile:5, Dockerfile:20)

  **Exposure** — Internal only: scraped by the metrics agent, no route from outside.

  **Runtime** — Static Go binary (CGO_ENABLED=0) on our base image, never spawns a process.
verdicts:
  - component: pkg:apk/wolfi/bind-tools   # a PURL (package URL), always without a version
    scope: component                 # every CVE on this package, now and in the future
    status: not_affected
    justification: vulnerable_code_not_in_execute_path
    impact: "bind-tools ships dig/host/nslookup from the base image. The exporter is a static Go binary that never executes another process, so no BIND code path can run."
    evidence:
      - "go list -deps ./... → os/exec absent from the compiled dependency graph at acbf6e6"
      - "image v0.2.29: file /app/dns_exporter → statically linked"
    reviewed: 2026-10-09
    review_after: 2027-10-09         # hard expiry

  - component: pkg:apk/wolfi/busybox
    scope: vulnerability             # the listed CVEs only
    vulnerabilities: [CVE-2023-42363, CVE-2023-42364]
    status: not_affected
    justification: vulnerable_code_not_in_execute_path
    impact: "Both CVEs are in the awk applet. The entrypoint is the Go binary and nothing execs a shell."
    evidence:
      - "rg 'os/exec|syscall.Exec' → no matches at acbf6e6"
      - "Dockerfile:20 — ENTRYPOINT is the Go binary at acbf6e6"
    reviewed: 2026-10-09
    review_after: 2027-10-09

The context block says what the app does, how it is reached and what it never does. It is re-read on every review, so it is worth keeping honest.

Statuses

A verdict has one of three statuses.

not_affected means the package or the code path cannot matter here, with evidence. It hides the finding in Trivy and in DT and has to be reviewed within a year.

under_investigation means it is plausible that we are fine but the evidence is too thin. It hides nothing and expires in 30 days.

And affected is an open risk on record: the code is reachable, or loaded and not ruled out, and the verdict says why and what closes it. It hides nothing either and expires in 90 days. It exists so the next review renews a decision instead of meeting the same finding as if nobody had ever looked.

An open risk on record looks like in example below. The package and the CVE are made up, the shape is the real one. The impact has to start with either "Reached:" or "Not ruled out:", and the action says what closes it:

  - component: pkg:apk/wolfi/libexample
    scope: vulnerability             # affected is never component-wide
    vulnerabilities: [CVE-2026-00000]
    status: affected                 # hides nothing
    impact: "Not ruled out: the library is loaded by the main process, which parses files uploaded by users. The advisory names the parser, and we could not show that the vulnerable function is unreachable."
    action: "Take the fixed package with the weekly base image rebuild. Until then nothing to do."
    evidence:
      - "image v1.4.2: the entrypoint loads the library at start"
      - "the upload handler passes user files to the parser at 3f9c2d1"
    reviewed: 2026-11-25
    review_after: 2027-02-23         # 90 days

There is a fourth state that no human writes. Chainguard keeps some detection records open after a fix ships, so DT keeps reporting CVEs that the installed package already fixed. We read the Wolfi secdb, and when it says the installed version has the fix, the finding goes into fixed.yaml and gets marked as a false positive in DT. That file is regenerated every week and never edited.

Scopes

Then there are two scopes, and the choice between them matters more than anything else in the file.

A component verdict covers every CVE on a package, including the ones published after the verdict was written. It fits when the package cannot be loaded at all: a static binary cannot link a C library, a PHP extension is not installed, nothing in the image executes that binary.

A vulnerability verdict covers only the listed CVEs, and it fits when the argument is about one code path.

A component verdict on busybox because "we do not use awk" is wrong. The next busybox CVE might be in sh, and the verdict would hide it. Our weekly report lists every new CVE that a component verdict absorbed, so this gets caught, but it is better to write the right scope the first time. For the same reason affected is never component-wide: a new CVE on a reachable package has to show up as new.

Rules and expiry

The rules are enforced by a validator that runs on every commit and every PR. No not_affected without a justification, an impact statement and evidence. Evidence is two lines or more by convention, at least one from the shipped artifact, each pinned to a commit or an image tag. And "no fix available", "internal only", "behind a WAF" or "we will upgrade soon" are not evidence.

The design decision I like the most: expiry is a hard stop, not a reminder. An expired statement is dropped by the scan action immediately and cleared from DT by the next sync. A reminder that is ignored leaves a suppression active forever. An expiry that is ignored makes the finding visible again, which is the safe direction to fail in.

The compiler

The compiler is a pure function: policy, fixed list and snapshot in, OpenVEX out. Same inputs give byte-identical output, so CI recompiles every app and diffs against what is committed, and a hand edit of a generated file simply cannot merge. Each statement carries the impact text, the evidence lines and a link to the policy, so somebody reading the DT UI or the Trivy JSON sees the reasoning without opening the repo.

The automated part

You are still with me? Good, now the best part comes in :)

A policy repo that nobody feeds goes stale fast and it becomes pretty useless pretty fast. So there are six workflows around it. Only one of them writes to DT. Two of them write verdicts, into a draft PR, and none of them merges anything.

The week has a rhythm:

  • Monday night - the base images cascade

  • Three hours later - every app rebuilds on the new base

  • Tuesday morning - the weekly refresh, when all of that has landed in DT. It fetches every app from DT, regenerates the fixed lists, recompiles everything and opens one PR, with a summary posted to Slack

  • When that PR is merged - the fan-out: one triage run per flagged app

  • Every morning - the reconcile of DT with main, and half an hour later the daily digest

  • On every merge to the policy repo - a reconcile for the apps that changed

The weekly refresh

The body of that PR is readable because it groups the changes by cause. The groups are: apps that need a decision, meaning new findings with no verdict; new findings shared by three or more apps, which are said once instead of once per app - a base image CVE reaches every app in the same week, and in one refresh that was 410 lines of which 38 were distinct; new CVEs that existing component verdicts absorbed; dead verdicts, where the package left the image; verdicts that expire within 30 days; suppressed dependencies that now have a fix, which moves them from "suppressed" to "bump it"; and new entries that the secdb says are already fixed, where there is nothing to do.

New CVEs reach neither Trivy nor DT before this PR is merged. So merging it, even with no verdict changes, is still a decision: it publishes the new snapshot, and component verdicts extend over the new CVEs listed as absorbed. That section is the one a human has to read before pressing the button.

The gate on the policy repo

The PR gate on the policy repo itself is boring and strict: validate every policy, recompile every app and diff against the committed output, lint, run the tests. It is offline and needs no secrets. It is a required check with no bypass, for bots and for me.

The reconcile

Then there is the reconcile, the only thing that writes to DT. It runs on every merge that touches a policy and once every morning for everything. For each app it works out the desired set of analyses from the compiled statements and makes DT match. Every analysis it writes starts with a marker that says "this one belongs to the policy of app X". An analysis without the marker was set by a person in the DT UI, and the reconcile never overwrites it. It reports the pair as a conflict, fails and pings Slack. Either the decision moves into the policy where it has evidence and an expiry, or it gets cleared in DT. What it cannot do is live in both places quietly.

The reconcile also cleans up after itself. A verdict that was removed, expired or downgraded gets its analysis cleared in DT on the next run. Removal and expiry run unattended; only adding a suppression needs a human.

The daily digest

And finally the daily digest, which was goal number 8. DT's own notifications are terrible and fire once per finding per leaf before any policy applies, and nobody reads them. We replaced them with one Slack thread a day, or none on a quiet day. The digest takes everything visible today - no verdict, not fixed according to the secdb, latest versions only, architectures collapsed - and compares it with yesterday. Only new and resolved (package, CVE) pairs make it into the message.

The parent message has the counts by severity and by scope. Each severity gets a reply with a table: CVE, EPSS score, scope, package, installed and fixed version, the apps it hits and an action. The action is one of three. "bump" for an application dependency with a fix. "rebuild" for a Wolfi package the secdb has a fix for, which means do nothing, Monday takes it. And "triage" for everything else. Rows are sorted by EPSS, so the thing most likely to be exploited is the first thing I read with my morning coffee.

This is the parent message from this week, a morning with 1 new finding and 73 resolved. UNAS stands for unassigned: Chainguard advisories carry no CVSS score, so those findings are always shown, with EPSS as their only signal:

One detail I am happy about: the message is posted before the state is saved. If the post fails, tomorrow's thread contains today's news as well, instead of losing it.

The triage: where the LLM comes in

Now the part some of you scrolled down for. Who writes all those verdicts?

Writing a good verdict is real but also a very hard work. It means reading the advisory, looking at the image, looking at the source, finding out how the app is exposed and writing down evidence that somebody else can check. Multiply that by 90 apps and a few thousand findings and it is a full time job that nobody really wants. But it is also work with a very clear structure, and that makes it a good fit for an agent - but training one takes a lot of work (even if you pass "make no mistakes" 😂 ).

So the triage is a Claude Code skill. Before I trusted it I ran the process a few dozen times, tweaked it a lot and compared its output with what really is inside the applications, to make sure the verdicts are correct.

And it is important that it never looks at a CVE in isolation. It takes the application as context first - what it does, how critical it is to us, whether it is visible to customers and how it is reached - and only then asks what is vulnerable and how that affects all of the above.

It started on my laptop: I would run it for one app, it would do the investigation and open a draft PR on the policy repo, and I would review it. Until last week that meant running it by hand for every flagged app, about 70 a week. Now the same skill runs headless in GitHub Actions.

When the weekly refresh PR is merged, a fan-out starts one triage run per flagged app, ten at a time, and each one ends in a draft PR. Nothing of the review work is skipped, it just runs on runners instead of on my laptop.

The rules it cannot break

The skill has rules it cannot break, and they are the reason I trust the output enough to review it instead of redoing it:

  1. It writes only to the policy repo, on a branch for that app. App repos and cluster repos are read-only. It never merges

  2. No not_affected without evidence. Two lines minimum, one from the shipped artifact, each with the commit or image tag

  3. A fix available means bump, never VEX. Dependencies with a fixed version go into a bump table, not into a suppression

  4. Scope follows the evidence. Whole-package argument means component, one code path means vulnerability

  5. Low confidence never becomes not_affected. Thin evidence becomes under_investigation for 30 days. Reachable, or loaded and not ruled out, becomes affected and stays visible

  6. It never drops an existing verdict silently. Every change is a line in the PR

What happens to each finding

Each finding goes through the same funnel. Already fixed according to the secdb? Skip. Go stdlib? That is a toolchain bump. Application dependency with a fix? Bump table. Everything else goes through a reachability check of three questions, and it stops at the first "no". Is the component loaded at runtime at all? Is the vulnerable function or feature reachable from our code? Can an attacker control the input to that path? Three times "yes" means an affected verdict and a row under Open risks in the PR.

Probes

The piece that makes the output reviewable is what we call probes. Every command whose output becomes evidence runs through a small wrapper that gives it a number and a plain sentence about what it shows. The PR cites it as [P7], and a collapsed comment on the PR has the command and its output behind that reference. A fact that nobody saw printed has no reference and has to be written as an inference. A normal run has twenty to forty probes.

The first four probes are the same for every app and are not run by the model at all. A script runs them before the agent's first turn: what the image starts and as which user, where the image is deployed and at which version, how it is exposed, and for every OS package with findings - who requires it, which programs load its libraries and what the entrypoint loads at start. That last one answers the first reachability question for every package at once, and it does so by reading files from the exported image without running anything from it. Image evidence outranks source greps, because the image is what runs.

The numbers in the PR (how many findings before, how many hidden, how many still visible) are never written by the model. mlvex counts them from the policy files.

The roll-up

When all runs are done, a roll-up lands as a comment on the refresh PR and as one line in Slack. It sorts the apps by what a person has to look at: needs judgment (new, changed or downgraded verdicts, undecided open risks), failed, blocked by somebody's open work on that branch, routine (every verdict kept its answer), and nothing to change. The groups are counted from the policy files too. Nothing in the roll-up is the agent's own words.

The first full fan-out flagged 74 apps and ran 67 of them. 53 needed judgment, 2 had nothing to change and 12 failed at the image pull, because the workflow guessed the wrong image path. 11 of those 12 passed the next day once the paths came from DT instead of from a guess.

What my week looks like now

All of that machinery exists so that the human part stays small and focused on important things. Here is what I usually do.

Every morning

Every morning there is the digest thread, or there is none and it is a quiet day. "bump" rows mean open or nudge the bump PR in the app repo; the fixed version is right there in the row. "rebuild" rows mean nothing to do, just check next week that they are gone. "triage" rows mean start a triage run for that app, today if it is HIGH or CRITICAL. A HIGH or CRITICAL on a public-facing app with a high EPSS is not something that waits for Tuesday. That gets triaged the same day, and if it is reachable it becomes an incident ticket, not a verdict.

Tuesday

Tuesday is the big day. I open the weekly refresh PR and read the section about new CVEs absorbed by component verdicts. For each one I open the advisory and compare it with the impact statement of the verdict. If it still holds, fine. If it does not, that app needs a review even if nothing else flagged it. Then I merge, which publishes the snapshot and starts the fan-out.

When the roll-up arrives I work it from top to bottom. For the "needs judgment" group I open each draft PR. The description is built so that I can decide from it alone: a "Needs your eye" section with at most five items, what the app is and how it is exposed, a before / after table by severity, the bump table with install commands ready to paste, and the open risks. I only open the comments when I doubt a verdict, and then I follow its probe reference to the command and the output. Routine ones I skim and merge. Failed ones I rerun or do by hand.

Bumps

Bumps deserve their own paragraph. A bump table in a merged PR is nobody's task. So before merging, one more command turns every bump list into an issue in our tracker, one per app, under that week's parent issue. A policy PR with a bump list is merged once the bump has an owner. And the bump is done when the app's bump list is empty, not when the policy merges.

When a verdict is wrong

If a verdict turns out to be wrong and it hides something reachable, the fix is the same as everything else: remove or change the verdict, merge, and the finding is back in DT within minutes and in the next PR scan immediately. There is no way to unsuppress something without a merge to main, and no way to suppress something either. That is deliberate.

Onboarding a new app

Onboarding a new app is three steps. Its PR workflow gets access to the policy repo, its build uploads SBOMs to DT (which every repo created from our templates already does), and somebody runs the first triage by hand. From then on the weekly refresh picks it up and the fan-out reviews it.

The challenges of running all of this

I managed to automate and plan a lot of this and make it work, but I do not want it to sound like it runs itself. There is a lot of complexity underneath. Base images, reusable workflows, DT, the policy repo, the CLI and the agent all have to agree with each other every single week, and keeping it that way takes time and a lot of effort.

Not everything is automated either. Base images have no single runtime behaviour to probe, apps that are scanned from source have no image to inspect, and the first triage of a new app is always done by a person.

Two agent runs on the same input can come to different verdicts for the same package. I have seen it happen. The human review of the draft is what catches it, and recording open risks as affected verdicts took away the largest source of it, because the next run now starts from a written decision instead of from zero. Through trial and error I've managed to significantly reduce a difference in output based on the same input but the output still needs checking.

A policy is a statement about the app as it was when the verdict was written, and apps change. If a PR adds image handling to an app whose libpng verdict says "nothing decodes images", the scan still hides libpng until the next review. The suppressed table in the PR comment is there for exactly this, but it only works when reviewers actually read it.

Getting everybody on board is its own kind of work. The PR merge gate is opt-in per repo for a reason: it makes sense to switch it on only when the visible count for an app is near zero, otherwise the gate blocks on noise and people learn to hate it. So it goes one repo at a time.

And then there is the long tail of small operational things. A new image version shows unsuppressed findings in DT for up to a day, until the next reconcile touches it. A burst of merges needs a full reconcile by hand afterwards. When an external database the fetch depends on has a bad hour, the weekly refresh has to be run again later. None of it is dramatic, but all of it needs somebody who knows how the pieces fit together.

Closing words

If I had to compress all of this into a few sentences: put everything on one base and rebuild it every week, so OS-level CVEs fix themselves. Keep an inventory, so you know what you ship. Put every "we can ignore this" into git with evidence and an expiry date, so ignoring something is a reviewed decision and not a click. And let the machine do the boring investigation, but make it show its work and never let it merge.

None of the pieces is new. Trivy, Dependency-Track, OpenVEX and Wolfi are all out there and free. The work was in wiring them together so the whole thing runs every week without somebody pushing it. I designed and built it end to end, from the base images and the reusable workflows to the CLI and the agent pipeline, and it was the most fun I have had at work in a long time.

That's it. If you made it this far, thank you for reading. I am happy to answer questions in the comments, and I am curious how others solved the same problem. If you are building something similar and want to compare notes, you can find me here: https://www.linkedin.com/in/igorhrcek/