Better HN
topnewbestaskshowjobs
Log inSign up

csweichel

14 karma · joined Jan 4, 2019 (7y ago) · 13 submissions

Submissions

comment 10mo ago · link · parent

You run the agent in a tightly controlled remote environment / VM designed for this use-case (at least the SSH/command piece).

Ona (https://ona.com) is a great choice.

(full disclosure: Ona co-founder here)

comment 1y ago · link · parent

Gitpod (https://www.gitpod.io) is a great option here. It aims to remove the ops burden, provide a great developer experience and give you tools to manage your spend (eg automatic timeouts, suspend/resume, standardized creation of environments).

Full disclosure: I’m one of Gitpod’s co-founders.

comment 2y ago · link · parent

OP here. There definitely is a place for running things on your local machine. Exactly as you say: one can get a great deal of consistency using VMs.

One of the benefits of moving away from Kubernetes, to a runner-based architecture , is that we can now seamlessly support cloud-based and local environments (https://www.gitpod.io/blog/introducing-gitpod-desktop).

What's really nice about this is that with this kind of integration there's very little difference in setting up a dev env in the cloud or locally. The behaviour and qualities of those environments can differ vastly though (network bandwidth, latency, GPU, RAM, CPUs, ARM/x86).

comment 2y ago · link · parent

OP here. The Kubernetes community has been fantastic at evolving the platform, and we've greatly enjoyed being in the middle of it. Indeed, many of the things we had to build next to Kubernetes have now become part of k8s itself.

Still, some of the core challenges remain: - the flexibility Kubernetes affords makes it hard to build and distribute a product with such specific requirements across the broad swath of differently set up Kubernetes installations. Managed Kubernetes services help, but come with their own restrictions (e.g. Kernel versions on GKE). - state handling and storage remains unsolved. PVCs are not reliable enough, subject to a lot of variance (see point above), and depending on the backing storage have vastly different behaviour. Local disks (which we use to this day), make workspace startup and backup expensive from a resource perspective and hard to predict timing wise. - user namespaces have come a long way in Kubernetes, but by themselves are not enough. /proc is still masked, FUSE is still not usable. - startup times, specifically container pulls and backup restoration, are hard to optimize because they depend on a lot of factors outside of our control (image homogeneity, cluster configuration)

Fundamentally, Kubernetes simply isn't the right choice here. It's possible to make it work, but at some point the ROI of running on Kubernetes simply isn't there.

5.

Gitpod Flex: Automating the software development lifecycle(gitpod.io ↗)

35 points · by csweichel · 2y ago · discuss

6.

Self-hosted, not self-managed(gitpod.io ↗)

28 points · by csweichel · 2y ago · discuss

7.

What's the tradeoff: self-hosting vs. self-managing software(gitpod.io ↗)

33 points · by csweichel · 3y ago · 3 comments

8.

“curl lama.sh – sh” starts a web server(lama.sh ↗)

1 points · by csweichel · 4y ago · discuss

comment 7y ago · link · parent

no plans.

(but then, what else should I say :D)

comment 7y ago · link · parent

Not sure this statements holds in this general form - it's a very good idea to be cautious what you execute, but curl | sh is not much different from running npx for example. It's difficult to know know what will actually be executed on your machine, but at least shell scripts can be inspected/audited (as compared to packages with 100 dependencies).

That said, prior to piping anything to a shell it's advisable to inspect what is about to be executed. That's why the lama.sh script is super simple, as is the code of the web server it downloads and executes.

comment 7y ago · link · parent

Just in case you don't have Python :)

I got a tad fed up with having to remember the line for Python, Node and Ruby. This one works as long as you have bash and curl.

comment 7y ago · link · parent

That's exactly right.

However, it does the downloading/starting in a really convenient manner. I wanted something I could just quickly type into a terminal without having to browse some GitHub release page.

13.

Show HN: Curl lama.sh – sh to start a web server anywhere(lama.sh ↗)

7 points · by csweichel · 7y ago · 8 comments