News for hackers. Stuff that matters.

Ramiro

Show HN: Run AI Agents on your cloud infrastructure

https://www.okteto.com/ai/

Hi, founder of Okteto here!We’ve been experimenting with AI agents in our workflows at Okteto. Running them locally worked at first, but quickly became painful. git worktrees, multiple terminals, and messy context switches slowed us down.So we built Agent Fleets: ephemeral, fully managed environments for AI agents, built on top of Okteto’s development platform. Each agent runs in its own...

( Read More... | 1 comment | 10 points | on HN )
Re:Automating Git Bisect with Ephemeral Environments on Thursday January 30, 2025 @01:15PM (#42880459)
Very cool! This is a great example of how ephemeral environments can help for a lot more than just fast inner loops or manual verification.
Re:Ask HN: Best way to communicate in Q4 2024 internet? on Tuesday October 15, 2024 @07:42PM (#41854240)
XMPP was supposed to be this. There was a boom in the early to mid-2010s (I worked at HipChat back then, and it was built on top of XMPP). IMO, it works well; it scales, but none of the commercial solutions picked up for whatever reason. In the end, as you say, proprietary protocols like WhatsApp or Slack won the market.

I've heard great things about Matrix. Peeble's founder, Eric, was building Beeper, a chat app with a similar purpose to what you describe (it recently got acquired by Wordpress). I believe that the core was built on top of Matrix, so you might be up to something there.

I'd highly discourage you from using SMS; it's very insecure. I'd go as far as to recommend you not to implement your own auth and instead use something like Auth0, WorkOS, SuperToken, or SSOReady (https://github.com/ssoready/ssoready), among others.

Building auth stacks is not trivial and is not what will make your SaaS successful. The more you can leverage experts to focus on what makes your SaaS special, the better.

Re:Ask HN: Coworking Spaces in SF? on Friday August 09, 2024 @06:53PM (#41206035)
I second this, the SF Public Libraries are a great place to work. I used to work out of the Potrero Hill branch a lot.

The main library (the one by the Civic Center) closes way later than the rest. Good spot if you're working alone.

Re:How we migrated onto K8s in less than 12 months on Friday August 09, 2024 @06:51PM (#41206022)
I love reading these "reports from the field"; I always pick up a thing or two. Thanks for sharing @ianvonseggern!
Re:How we migrated onto K8s in less than 12 months on Friday August 09, 2024 @06:50PM (#41206013)
Every time I read about Nomad, I wonder the same. I swear I'm not trolling here, I honestly don't get how running Nomad is simpler than Kubernetes. Especially considering that there are substantially more resources and help on Kubernetes than Nomad.
Re:How we migrated onto K8s in less than 12 months on Friday August 09, 2024 @06:47PM (#41205997)
I agree with @metaltyphoon on this. Even for small teams, a managed version of Kubernetes takes away most of the pain. I've used both ECS+Fargate and Kubernetes, but these days, I prefer Kubernetes mainly because the ecosystem is way bigger, both vendor and open source. Most of the problems we run into are always one search or open source project away.
Re:Show HN: I made a job board for Elixir language on Friday August 09, 2024 @04:48PM (#41205300)
I really like the "remote"/ "on-site" / "hybrid" filter. Good job!
Re:The Agony and Ecstasy of Costco on Monday May 06, 2024 @02:00PM (#40277503)
The most significant value I get from Costco is that the quality is consistently high and the options are well curated. I like not having to go through 100s of brands of basic staples like yogurt, toilet paper, milk, etc...
Re:Bun: A Complete Overhaul of the JavaScript Ecosystem on Tuesday July 26, 2022 @05:57PM (#32244604)
I agree is early, but the same thought around WASM crossed my mind. Interesting approach though
Re:Docker for Mac Without Docker Desktop on Friday January 28, 2022 @02:11PM (#30119007)
@blakesterz what kind of pain are you feeling when developing with containers on a Mac vs using your Linux box? I know perf is worse, but are you hitting other things?
Re:Show HN: Load Testing with Playwright on Friday January 28, 2022 @01:54PM (#30118820)
This is very cool. Running tests on browsers has always being a pain. Is this something that could be run from within a container?
Re:Optimizing Docker image size and why it matters on Thursday January 06, 2022 @06:52PM (#29832467)
I think this something that people miss a lot when trying to optimize their Docker builds. Is the whole optimizing for most of your builds vs optimizing for a specific build. Not easy.
Re:Optimizing Docker image size and why it matters on Thursday January 06, 2022 @02:43PM (#29828842)
I never really thought about this, it's a good point. What do you suggest it's used instead of ["npm", "run", "start"]?
Re:Optimizing Docker image size and why it matters on Thursday January 06, 2022 @02:42PM (#29828824)
Distroless are tiny, but sometimes the fact that don't have anything on them other than the application binary makes them harder to interact with, specially when troubleshooting or profiling. We recently moved a lot of our stuff back to vanilla debian for this reason. We figured that the extra 100MB wouldn't make that big of a difference when pulling for our Kubernetes clusters. YMMV.
Fig's integration for Makefiles makes my life so much easier!

I've played with shell autocompletion before, but this way easier to use. Good luck!

Re:Crypto miners are killing free CI on Monday May 10, 2021 @07:02PM (#27111948)
Not yet. We are trying different approaches to curb this since we do want to keep our free tier.
Re:Crypto miners are killing free CI on Monday April 26, 2021 @01:39PM (#26945431)
We have the same problem in Okteto. We've been investing a lot on building tech to prevent this (I gave a talk on this during the last eBPF community days -> https://www.youtube.com/watch?v=tplv3Hjjv2Q), but it's tough. We spend a LOT of resources fighting it.
Re:Instant dev environments for cloud-native apps on Sunday May 10, 2020 @05:20PM (#23136311)
There's a couple of approaches we've tried:

1. Register each dev env with the provider. Dev Envs can have predictable URLs (e.g in okteto cloud it's the name + namespace + domain), so you can directly register it. This works well with self-service webhooks like Github.

2. Have a proxy that routes to the right dev env. This works if there's a key you can use for the routing, like a user ID or the subscription.

3. Have a proxy that duplicates traffic and send it to all the dev envs.

I'm curious wow do you solve this on the DTAP env. Are you registering a single endpoint with the webhook? Then how does it reach the separate dev envs? (or do you have a single, shared dev env?)

Re:Instant dev environments for cloud-native apps on Sunday May 10, 2020 @05:15PM (#23136265)
For debuggers, we wrote a few guides like this one: https://okteto.com/blog/how-to-develop-node-apps-in-kubernet....

> We need to maintain separate profiles for running apps in debug mode, to expose the java debug port to the host and supply the right JVM options

Yes, you should. This is something you can do in the 'okteto.yml' file. You can specify different environment variables, different commands and even a different image (e.g. an image with your dev tools and debugger, which you don't need in prod).

> Latency

This can be a challenge, for sure, specially if you have a bad network connection. In our experience, debuggers and incremental file sync don't require too much bandwidth.

> Don't leave your debugger paused for too long

This has happened a lot to me. In the latest version we introduced a switch to disable healthchecks during dev time so avoid this.

> And forget about trying to debug something that happens on application boot

This is the trickiest definitely. I've had luck by pausing the debugger on attach (on go and node you can do this), but it's not the most optimal.

Re:Instant dev environments for cloud-native apps on Thursday May 07, 2020 @08:00PM (#23109821)
There's two parts to Okteto. The open source project (https://github.com/okteto/okteto), which launches development environments and works with any kubernetes distribution.

And Okteto Cloud (https://okteto.com) our development platform for Kubernetes Applications, that integrates everything you need to build cloud native apps (development environments, a build service, a private registry, SSL endpoints, etc...)

Re:Instant dev environments for cloud-native apps on Thursday May 07, 2020 @07:12PM (#23109468)
If your kubernetes cluster can support a 16GB pod, it will work with okteto.

That said, the pattern we recommend to follow is to split it into smaller dev envs. That makes it easier to manage, and allows you to have dedicated dev envs for different parts of your app (e.g. your API dev env and your frontend dev env).

Re:Instant dev environments for cloud-native apps on Thursday May 07, 2020 @05:59PM (#23108860)
There are challenges on this model for sure. A big advantage is that, by routing to the dev environments, you can have the dev interact directly with the webhook when they code, instead of having to wait for a shared environment to test integrations. This is pretty useful, specially if your application depends a lot on webhooks for it's main functioning.

This is an area where I'm particularly interested in. We are constantly experimenting in ways to better integrated it into our idea of remote development environments.

Re:Instant dev environments for cloud-native apps on Thursday May 07, 2020 @05:53PM (#23108797)
Ramiro here (co-founder of Okteto)

I agree that "developers should be sympathetic to the environment there code runs in". But that's about where the code runs in production, not where the developer runs it while coding. That's why we are pushing towards using remote clusters, so that you are developing on an environment that's as close to prod as possible.

In my opinion, Minikube, Docker for Desktop, Kind and others present two big challenges: First, it's not trivial to run them locally. They require extra memory, cpu and battery, they have issues starting/stopping (I don't use my local cluster that often, and I've spent way more than 5 minutes just starting/stopping/troubleshooting it). And, at the end, they have different components (load balancers, disk, network) and configuration from a remote kubernetes clusters, creating more dev-prod skew.

Second, the feedback loop is not that fast. You still need to either mount volumes (which is slow if you handle multiple files, like node's node_modules folder) or end up building containers to validate your changes. Sure, you don't have to push and pull them, but what if you didn't have to even build them?

Re:Okteto Push – Your Code to Kubernetes in Seconds on Friday March 20, 2020 @12:34PM (#22638933)
> Even npm watch takes several seconds, let alone docker builds almost always take minutes

That's where caching, container layers and build stages can help a lot. Specially for development, where you might be rebuilding the same container over and over.

Older »