News for hackers. Stuff that matters.
Re:What Would a Kubernetes 2.0 Look Like by conradev on Friday June 20, 2025 @12:22PM (#44329286)
Yes! All I was trying to say:

Containers can contain code which open arbitrary ports using the provided kernel interface whereas serverless workers cannot. Workers can only handle HTTP using the provided HTTP interface.

I don’t need a container, sure, I need a system with a network sockets API.

Re:What Would a Kubernetes 2.0 Look Like by mdaniel on Friday June 20, 2025 @03:19PM (#44331042)
FWIW, Lambda takes the opposite of your assertion: there are function entrypoints and the HTTP or gRPC or Stdin is an implementation detail; one can see that in practice via the golang lambda "bootstrap" shim <https://pkg.go.dev/github.com/aws/[email protected]/lamb...> which is invoked by the Runtime Interface Emulator <https://github.com/aws/aws-lambda-runtime-interface-emulator...>

I don't have the links to Azure's or GCP's function emulation framework, but my recollection is that they behave similarly, for similar reasons

Re:What Would a Kubernetes 2.0 Look Like by conradev on Friday June 20, 2025 @05:19PM (#44332209)
Oh yes! I was thinking about the V8 isolate flavor of stateless functions (Cloudflare, Fastly, etc). I had forgotten about the containerized Linux microVM stateless functions (Lambda, Cloud Run, etc). They have everything, and my favorite use is https://github.com/stanfordsnr/gg

Funnily, enough, the V8 isolates support stdio via WASM now

Re:What Would a Kubernetes 2.0 Look Like by motorest on Saturday June 21, 2025 @02:56AM (#44335222)
> Workers can only handle HTTP using the provided HTTP interface.

Not true. Cloudflare Workers support Cron triggers and RPC calls in the form of service bindings. Also, Cloudflare Queues support consumer workers.

Claiming "Workers can only handle HTTP" is also meaningless as HTTP is also used to handle events. For example, Cloudflare Queues supports consumers using HTTP short polling.

Re:What Would a Kubernetes 2.0 Look Like by conradev on Saturday June 21, 2025 @05:15PM (#44340778)
You forgot email, too!

But I still can't handle SSH or proxy WireGuard or anything like that (yet!)