Live data from Hacker News

Instant dev environments for cloud-native apps

okteto.com

21–30 of 51 posts

Re: Instant dev environments for cloud-native apps

#21

Step out of the dark ages by burning piles of cash to generate light.

One of the advantages of using Kubernetes vs a remote VM, which is an approach followed by companies like Stripe, Slack, Eriksson and much more... is that Kubernetes is very efficient allocating resources. Idle dev environments don't consume resources, they can be scaled to zero and restarted in a few seconds, and the same infra is shared by your entire team

Re: Instant dev environments for cloud-native apps

#22
post #19

Earlier quoted context omitted.

Great work! I agree that developing in a Kubernetes namespace makes a ton of sense. This is also the direction we want to take the GitLab Web IDE. Kubernetes is the interface to the cloud, both for development, testing, and production.

Yes, the possibilities with this are very exciting. We have already integrated Gitlab runners in our Application Catalog, and we are working on a UX to deploy a branch and put it on dev mode on a single command.

Awesome. Please let me know if there is anything else we can do.

Re: Instant dev environments for cloud-native apps

#23

Earlier quoted context omitted.

why? we offer vanilla kubernetes namespaces. There are no hidden dependencies

I believe they mean their application relies on third-party integrations that would be burdened by such a fast loop

I mean its harder to route webhooks to twenty random dev machines than to a couple of DTAP servers.

Re: Instant dev environments for cloud-native apps

#24

Earlier quoted context omitted.

I develop in the cloud! Serverless Framework deploys are now less than three seconds. It's almost exactly like `run watch` now! I deploy to a dev AWS account, then a staging AWS account, and then promote to prod out of github. Check it out: https://github.com/serverless-components/

That really depends on the size of your app. You also lose the ability to run debuggers. Not to mention how hard is to run serverless java applications, which is the dominant enterprise programming language.

Lambda layers, uploading caching and more make app size a non-issue.

Re: Instant dev environments for cloud-native apps

#25
post #19
post #2

Github codespaces is a step forward to eliminate local setup and have replicable dev environments running in containers. But for true cloud-native applications, you would need a kubernetes namespace to run other services, databases or access the kubernetes API. This blog post explains our vision of cloud-native development at www.okteto.com

Great work! I agree that developing in a Kubernetes namespace makes a ton of sense. This is also the direction we want to take the GitLab Web IDE. Kubernetes is the interface to the cloud, both for development, testing, and production.

give jenkins x devpods a look[1]

[1]: https://jenkins-x.io/docs/reference/devpods/

Re: Instant dev environments for cloud-native apps

#26
I deal with a lot of "works on my machine" bugs, but the reason is we can't go cloud native. Or cloud.

I'm really interesting in a cross platform, rootless and low overhead containerization solution for native desktop apps. I haven't seen one that fits my use cases yet.

Re: Instant dev environments for cloud-native apps

#28
post #27

Are kubernetes namespaces this well isolated? I wasn't aware it was at the point where you could put untrusted tenants next to each other in the same cluster.

You can achieve good isolation with a combination of RBAC, network policies, OPA rules and runtimes like gvisor. We also monitor suspicious activity with Falco. For deeper security, we offer Okteto Teams, which runs on a dedicated cluster, and Okteto Enterprise, which runs on your own cluster.

Re: Instant dev environments for cloud-native apps

#29
post #26

I deal with a lot of "works on my machine" bugs, but the reason is we can't go cloud native. Or cloud. I'm really interesting in a cross platform, rootless and low overhead containerization solution for native desktop apps. I haven't seen one that fits my use cases yet.

Would something like Okteto Enterprise fit your needs? https://okteto.com/docs/enterprise

Re: Instant dev environments for cloud-native apps

#30
post #5

Don't you tell me I'm living in "the dark ages" mister, I'm fully serverless. It's you who's grasping for a world soon to be gone.

How do you develop your functions? Using Kubernetes as a development platform also applies to serverless, we have articles with Cloud Run and OpenFaaS: https://www.openfaas.com/blog/painless-serverless-developmen... The idea is to have replicable and production-like dev environments, no matter your deployment tool

Docker setup that allows me to test my functions locally - I have a wrapper that simulates the handoff between AWS ALB and AWS Lambda.

When ready, I merge into master, push, and they deploy to AWS through CI - I have simple Python scripts that manage Lambda Layer creation, environment variable configuration, etc.

Don't really need much more than this.

Post reply on HN