Skip to content

emka.web.id

writing knowledge, recording civilization

Menu
  • Home
  • Tutorial
  • Search
Menu

Traefik 3.8 New Feature: Yaegi v2 and the Gateway API Finally Make Custom Plugins Worth the Effort

Posted on December 1, 2026

I have a love-hate relationship with Traefik. On one hand, it is the magic box that made Kubernetes ingress feel human again. On the other, the moment you needed to do something slightly non-standard—like writing a custom plugin—you hit the wall of Yaegi. It felt like coding in a glass box.

Traefik Labs just dropped version 3.8, codenamed “Salers,” and while the changelog is packed with the usual performance tweaks, the real story here is the rewrite of the Go interpreter and the aggressive push toward the Kubernetes Gateway API. If you have been sitting on the fence about upgrading from the 2.x branch or moving away from NGINX, this version might actually be the tipping point.

The Yaegi v2 Gamble

The biggest news is Yaegi v2. For the uninitiated, Yaegi is the Go interpreter that allows Traefik to run plugins without recompiling the whole binary. The original version was always a bit finicky. It struggled with modern Go features and often felt like a watered-down version of the language.

The v2 engine is a total rewrite. It now uses Go’s native parsing and type-checking infrastructure. This is massive. It means we can finally use generics in our plugins. It means we can pull in heavy-duty libraries like the AWS SDK, OpenTelemetry, or even the Kubernetes client directly into a plugin. Traefik claims that plugins handling HTTP headers or regex are now twice as fast.

But here is the catch: it is still experimental. Traefik is keeping Yaegi v1 as the default for now. My advice? Enable v2 in a staging environment immediately. If the performance gains are even half of what they claim, the days of “middleware overhead” being a valid excuse to avoid custom logic are over.

The End of CRD Sprawl?

We have all felt the pain of “annotation hell” or the endless sprawl of vendor-specific Custom Resource Definitions (CRDs). Traefik 3.8 leans heavily into Gateway API 1.7.

The implementation of ListenerSet resources and listener isolation is a big win for multi-tenant clusters. You can now handle mTLS for both incoming and backend connections through standard resources. Configuring retries, timeouts, and traffic mirroring through the Gateway API instead of Traefik’s own Middlewares is a relief. It makes your configuration more portable. If you ever need to migrate or run a multi-cloud setup, you are no longer locked into a proprietary configuration format.

The New Tap Middleware: A Security Warning

One feature that caught my eye is the new Tap middleware. It captures HTTP requests and responses as JSON records and ships them to a service of your choice. It is brilliant for compliance and auditing.

However, we need to be careful. Traefik explicitly warns that these captured records can contain sensitive headers and cookies. If you are logging everything to an external service, you are essentially creating a massive, unencrypted pile of session tokens and credentials if you aren’t filtering them properly. It’s a powerful tool, but use it with a “deny-by-default” mindset regarding sensitive data.

The Small Things That Matter

There are a few other bits in Salers that make life easier for those of us in the trenches:

  • Double-wildcard matching: Finally, we can match nested subdomains (like *.api.example.com) without jumping through hoops.
  • Enterprise Legacy Support: ForwardAuth now supports NTLM and Kerberos. If you are working in a corporate environment where some legacy Windows services refuse to die, this is a godsend.
  • Memory Optimization: They have managed to reduce the memory footprint in large clusters. If you are running hundreds of services, you know that Traefik’s memory usage could occasionally creep up.

Is it time to upgrade?

If you are already on the 3.x line, the upgrade to 3.8 is a no-brainer just for the security patches and the memory fixes. If you are still clinging to 2.11, the siren call of the Gateway API and a faster plugin engine is getting harder to ignore.

Traefik 3.8 feels like a release where the developers stopped adding “cool” features and started fixing the fundamental friction points of the ecosystem. It’s not just about routing traffic anymore; it’s about making the proxy invisible again, exactly where it belongs.

Terbaru

  • Traefik 3.8 New Feature: Yaegi v2 and the Gateway API Finally Make Custom Plugins Worth the Effort
  • Raspberry Pi OS: Why the November Update is a Win for Minimalism
  • React Can useState Hook Explained in 60 Seconds
  • How Do You Build an MMO Solo?
  • NixOS 26.11 “Zokor” Might Be the Most Practical Release for Desktop Power Users Yet
  • Why Your AWS Bill Can Just Tripled Overnight?
  • Why Indonesia’s Battle with Google is a Dangerous Game of Chicken
  • SYS010 Malware Explained: How Malvertising on Meta Bypasses MFA and Hijacks Your Digital Identity
  • Linux Mint 27 Adrien: Why This Version Jump is Make Sense?
  • NFS2ROOT: A 12-Year Reminder That Your Linux Kernel Is Never Truly Safe
  • The Death of Browsing and the Rise of the “Answer Engine Economy”
  • What’s new in Proxmox VE 9.3?
  • Why Your Morning Routine Needs an API: The Art of iOS Automation
  • Proof of Work is the New Certification: 5 AWS Projects to Build Before 2027
  • Omarchy is Our first agentic operating system
  • The Death of Popper.js: Why CSS Anchor Positioning is the New Standard for Connected UI
  • Why Your 2027 Cloud Career Depends on Moving Beyond Basic AWS Services
  • Why Discord is Ditching Electron for Rust: Is GPUi Actually the Future?
  • The End of the KDE Era: Why KaOS 2026.11 Is a Bold, Dangerous Gamble
  • The $2 Billion Code: Why GTA 6 is a Technical Miracle and a Hardware Nightmare
  • LibreDB Studio Explained
  • PHP 8.6 Is Officially Out: What’s New, What Breaks, and How We’re Upgrading
  • Rewriting Legacy Apps: 4 Data Migration Strategies That Actually Work
  • How to Install Clean Windows 11 Without Any Bloatware (Step-by-Step Guide)
  • IP Address Rate Limiting is Flawed—Here is the Right Way to Do It
  • Are Fedora 45 Stuck in Its Comfort Zone? A Short Review
  • Hacktober Recap 2026, A Month Full of Dangerous CVE: eMudhra, Gitlab, Brotli, PHP, NodeJS etc
  • 7 Skill Keamanan Jaringan yang Membuat Network Engineer Makin Dibutuhkan
  • How to Spin Up Disposable macOS and Linux VMs on Apple Silicon with TartVM
  • Belajar Cyber Security dari Nol hingga Siap Kerja, Ini Roadmap Lengkapnya
  • Canonical: Ubuntu coming soon to Snapdragon X2 Series platforms
  • Finally, wolfSSL adds post-quantum algorithms!
  • How to Run Gemma Embedding Models Using Docker
  • Deploy Nginx Rootful Container with Podman
  • How to Sandboxing Browser on Linux Desktop with Flatpak
  • Your MCP Server Is a Search Result Now
  • AI Roadmap: How To Become An Agentic Operations Manager In 2027
  • What Does a Machine Learning Data Scientist Do?
  • How To Use T3 Code
  • Is AGENTS.md always faster? Nope!

©2026 emka.web.id | Design: Newspaperly WordPress Theme