frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ing-switch – migrate from ingress-Nginx to Traefik or Gateway API

https://github.com/saiyam1814/ing-switch
1•saiyampathak•1h ago
ingress-nginx enters maintenance-only mode this March. About half of all Kubernetes clusters run it. Most teams I've talked to are in the same place: they know they need to move, they've looked at the tools, and they've hit the same wall nobody handles the annotations.

The annotations are the real migration. A real-world NGINX Ingress isn't just a hostname and a backend. It's auth-url pointing at an external OAuth service, limit-rps: 10 enforced per-client, affinity: cookie with a custom session name, canary-weight: 20 for a staged rollout, and six cors-* fields that took someone a week to get right. Dropping those annotations means your auth breaks, your rate limiting disappears, your sticky sessions stop working, and your canary routes everything to prod. The Kubernetes SIG tool ingress2gateway handles basic routing — host, path, backend. It explicitly documents that annotation coverage is out of scope. That's a reasonable decision for an upstream tool. But it means the hard part of migration is still entirely manual.

So did some mapping work: 50+ nginx.ingress.kubernetes.io/* annotations, each one researched against both Traefik v3 and Gateway API (Envoy Gateway), with a status of supported / partial / unsupported and a note on what "partial" actually means in practice. Then I wrapped it in a CLI and a local web UI.

What it does:

- ing-switch scan - ing-switch analyze --target traefik — produces a per-ingress, per-annotation compatibility table. Each annotation gets a status and a note. - ing-switch migrate --target gateway-api — generates the complete output directory: GatewayClass, Gateway, HTTPRoutes and others - ing-switch ui — a four-page local web dashboard if you prefer a visual walkthrough.

Four things I had to figure out that aren't obvious from the spec:

  1. You cannot put a RequestRedirect filter and backendRefs in the same HTTPRoute rule. This catches everyone who tries to handle HTTP→HTTPS redirect in a single route — the spec forbids it, and some implementations silently accept it while others reject it. The correct approach is two separate HTTPRoute resources: one with sectionName: http for the redirect, one with sectionName: https-N for the backend. Getting this wrong causes redirect loops on HTTPS (the HTTPS request gets redirected, too).
  2. backendRequest timeout must be ≤ request timeout. A typical nginx config has proxy-read-timeout: 300 and proxy-connect-timeout: 5. Mapping these naively — read→backendRequest, connect→request — violates the constraint because 300 > 5. The tool maps only proxy-read-timeout → backendRequest and explains why the other one is dropped.
  3. HTTPS listeners need allowedRoutes.namespaces.from: All or your HTTPRoutes show attachedRoutes: 0 in kubectl get gateway, even when the namespace matches. Nothing in the error output tells you why. This took an embarrassing amount of time to debug on a live cluster.
  4. Paths like /app(/|$)(.*) are valid NGINX regex paths but fail Gateway API's PathPrefix validation (parentheses, pipes, and brackets are invalid characters). Auto-detection of regex characters switches the path type to RegularExpression automatically, even when use-regex annotation is absent.
The limitations:

- Traefik migration is more complete. Almost every annotation has a direct Traefik equivalent. The generated Traefik YAML is ready to apply in most cases. - Gateway API has 14–15 annotations that are genuinely unsupported in the core spec: cookie-based canary routing, session-cookie-samesite, basic auth, proxy-buffering, and a few others. The tool tells you this upfront with the specific workaround for each. - The tool generates files. It does not apply them. Zero kubectl apply without explicit human sign-off.

Show HN: ClawMoat – Open-source host-level security for AI agents

https://github.com/darfaz/clawmoat
1•ildar•2m ago•1 comments

How Expensify's OSS program is powering SWE-Lancer

https://use.expensify.com/blog/expensify-powers-openai-swe-lancer-project
1•derHackerman•2m ago•0 comments

Dear Back End Software Engineers: UX Is Your Job Too

https://arielhq.medium.com/dear-backend-software-engineers-ux-is-your-job-too-5c1a0c271e21
1•mooreds•2m ago•0 comments

Migrate to Vercel from Cloudflare

https://vercel.com/kb/guide/migrate-to-vercel-from-cloudflare
1•taubek•2m ago•0 comments

Show HN: Wikilangs Games – Wordle-like for 300 Languages

https://games.wikilangs.org
1•omneity•2m ago•0 comments

The world of hard power and the future of war against Ukraine

https://www.pravda.com.ua/eng/columns/2026/02/23/8022301/
1•mooreds•4m ago•0 comments

Game theory meets lattice gases and spin-glasses: Zero-player Entropy Game

https://arxiv.org/abs/2503.03769
1•northlondoner•7m ago•1 comments

Ask HN: Are "% improvement" stats in resumes an AI indicator?

1•floren•8m ago•0 comments

Show HN: Chess960v2 – Over 100 Rounds Played (chess960v2.com)

https://chess960v2.com/en
1•lavren1974•9m ago•0 comments

Code Red for Humanity

https://garymarcus.substack.com/p/code-red-for-humanity
1•MindGods•10m ago•0 comments

Large-Scale Online Deanonymization with LLMs

https://substack.com/home/post/p-189015749
1•todsacerdoti•10m ago•0 comments

Sprites: Stateful sandbox environments with checkpoint and restore

https://sprites.dev/
1•spking•13m ago•0 comments

A gut-liver lipid flux checkpoint mediates FAHFA protection from MASLD

https://www.sciencedirect.com/science/article/pii/S1043661825005109
2•PaulHoule•13m ago•1 comments

Anthropic Dials Back AI Safety Commitments

https://www.wsj.com/tech/ai/anthropic-dials-back-ai-safety-commitments-38257540
1•ViktorRay•15m ago•0 comments

Wearable trackers can detect depression relapse weeks before it returns: study

https://medicalxpress.com/news/2026-02-wearable-trackers-depression-relapse-weeks.html
1•bookofjoe•15m ago•0 comments

Show HN: My focus had a pattern. I built a macOS app to make it visible

https://headjust.app/
1•suvijain•17m ago•0 comments

Is Perplexity's new Computer a safer version of OpenClaw?

https://www.zdnet.com/article/perplexity-computer-openclaw/
1•totaldude87•18m ago•0 comments

Hexagon-MLIR: An AI Compilation Stack for Qualcomm's NPUs

https://arxiv.org/abs/2602.19762
1•matt_d•18m ago•0 comments

CHICKEN Scheme

https://www.call-cc.org/
1•tosh•21m ago•0 comments

uf

http://www.call-with-current-continuation.org/uf/uf.html
2•tosh•22m ago•0 comments

An AI agent on an ESP32 that can automate sensors, relais, speak NATS, Telegram

https://wireclaw.io/
2•m64-64•23m ago•0 comments

Thoughts on Forth Programming

http://www.call-with-current-continuation.org/articles/forth.txt
2•tosh•24m ago•0 comments

Computer History Museum Recovers Rare Unix History

https://www.youtube.com/watch?v=-xlq_MPWNKk
2•todsacerdoti•25m ago•0 comments

Watching a Robotics Startup Die from the Inside

https://ruixu.us/posts/six-things-robotics-startup
2•gkolli•25m ago•0 comments

TranslateGemma now runs 100% in the browser on WebGPU with Transformers.js v4

https://huggingface.co/spaces/webml-community/TranslateGemma-WebGPU
2•tzury•26m ago•1 comments

What Holds America Together?

https://walkingtheworld.substack.com/p/what-holds-america-together
1•VelNZ•28m ago•0 comments

Show HN: Elev8or Run Creator Marketing Like Paid Ads

https://www.elev8or.io
1•Sourabhsinr•29m ago•0 comments

Michael Burry Reveals Accounting Tricks of Mag 7 Firms to Inflate Earnings

https://www.ibtimes.co.uk/michael-burry-criticizes-tech-giants-ai-accounting-1781491
2•ironyman•30m ago•0 comments

Show HN: Draw on Screen – a modern screen annotation tool with webcam

https://drawonscreen.com/vs/epicpen/
3•markjivko•30m ago•0 comments

DataClaw

https://huggingface.co/datasets?other=dataclaw
1•notsahil•31m ago•0 comments