Okteto Blog

Develop and Deploy a Grails application in Okteto Cloud

Image of Develop and Deploy a Grails application in Okteto Cloud

Microservice-based applications make our applications more scalable. But they also make it harder to setup local development environments. You need to run several services that you are not familiar with, with a variety of different runtimes. And you probably need to switch your development environment between different projects. Not to mention that running all these services can eat up all of your computer’s available resources.

In this blog post, I’ll show you how to develop a Hello World application, how to kubernetize it and how to deploy it into Okteto Cloud without having to install anything locally. We will use Grails as our programming language, but the guide applies to any Spring Boot application. And yes, you won’t need to install grails, the JVM, Docker or Kubernetes locally 😍.

Read More

How to Develop and Debug PHP Applications in Kubernetes

Image of How to Develop and Debug PHP Applications in Kubernetes

If you are building a cloud-based application at scale, running it in Kubernetes is a no-brainer: It’s been adopted by the industry at an incredible rate, it has a wonderful community, and every single cloud vendor offers it as a service.

But the development experience available when building Kubernetes applications is less than ideal: write your code, build a Docker image, push it to the registry, redeploy, validate your changes and repeat. This flow is not only slow and full of friction but it prevents us from benefiting from PHP’s rich toolkit ecosystem. Think about this for a second. When was the last time that you debug with an actual debugger, instead of adding echos everywhere in your code?

Okteto was created to solve this problem. On this blog post, we will show you how Okteto improves the developer experience in Kubernetes for PHP developers. You will be able to take full advantage of the entire PHP toolkit (debuggers, dependency managers, test frameworks, etc…) while developing your application directly in your cluster.

Read More

How to Develop and Debug Node.js Applications on Kubernetes

Image of How to Develop and Debug Node.js Applications on Kubernetes

Kubernetes is an open-source project for automating deployment, scaling, and management of containers. It has rapidly become the standard to run production workloads and the community around it is just great!

But developing on Kubernetes presents some challenges. The typical development workflow looks like this: write code, build a Docker image, push it to the registry, redeploy, validate your changes and repeat. This flow is not only slow, but it also prevents us from benefiting from standard features of the Node.js ecosystem such as application hot-reloaders or debuggers.

Okteto was created to solve this problem. On this blog post, we will show you how Okteto improves the developer experience in Kubernetes for Node.js developers. You will be able to take full advantage of tools like nodemon, dependency caching or IDE debuggers while developing your application directly on Kubernetes.

Read More

Remote Kubernetes Development in Visual Studio Code with Okteto

Image of Remote Kubernetes Development in Visual Studio Code with Okteto

Microsoft released the Visual Studio Code Remote Development Extension Pack a few months ago, enabling developers to work with remote development environments directly in Visual Studio Code.

This new model is very powerful. It lets you use containers (or even entire VMs) as your development environment while still using Visual Code. You can launch fully configurable, replicable and isolated development environments with one command, while getting the full benefit of Visual Studio Code’s features and extensions. I’m a big fan.

When the extension was launched, we (and a few more folks) were a bit disappointed that it didn’t support launching environments in Kubernetes. But it supported SSH, and Okteto was already capable of deploying development environments in Kubernetes. So with a little duct tape and ingenuity, we pretty quickly had our remote development environments running in Kubernetes.

We showed our setup to friends and customers, and the overall feedback was great. And now we are ready to share it with everyone. I’m super excited to announce that our new Visual Studio Code Remote - Kubernetes extension is now available in the marketplace. Install it and start developing in Kubernetes with Visual Studio Code in seconds.

Read More

How to Develop and Debug Go Applications on Kubernetes

Image of How to Develop and Debug Go Applications on Kubernetes

Kubernetes is an open-source project for automating deployment, scaling, and management of containers. It has rapidly become the standard to run production workloads and the community around it is just great!

But developing on Kubernetes presents some challenges. The typical development workflow looks like this: write code, build a Docker image, push it to the registry, redeploy, validate your changes and repeat. This flow is not only slow, but it also prevents us from benefiting from standard features of Go tools such as fast incremental builds, hot reloaders or debuggers.

Okteto was created to solve this problem. On this blog post, we will show you how Okteto improves the developer experience in Kubernetes for Go developers. You will be able to take full advantage of tools like go build, dependency caching, or IDE debuggers (VS Code, GoLand, Atom …) while developing your application directly on Kubernetes.

Read More