Okteto Blog

Kubernetes for Developers

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 Go Applications in Kubernetes

Image of How to Develop Go Applications in 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 in 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 benefitting 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, hot-reloaders (gin or IDE debuggers (VS Code, GoLand, Atom …) while developing your application directly in Kubernetes.

Read More

How to Develop Java Applications in Kubernetes

Image of How to Develop Java Applications in 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 in 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, rinse and repeat. This flow is not only slow, but it also prevents us from benefitting from standard features of Java tools such as fast incremental builds, automatic hot reloads or powerful 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 Java developers. You will be able to take full advantage of tools like Maven, Gradle, dependency caching, popular frameworks hot reloads (Spring Boot, Quarkus, Micronaut, …) or IDE debuggers (Eclipse, IntelliJ, VS Code, …) while developing your application directly in Kubernetes.

Read More

Manage your Kubernetes Context Directly from VS Code

Do you keep deploying your applications into the wrong namespace? Now you can see and manage your Kubernetes context directly from VS Code with our new extension 🚀.

Visual Studio Code has taken the IDE world by storm. On Stack Overflow’s 2019 Developer survey it already appears as the most popular development environment. I’m a big fan of it, mostly because of the extension model. These days, I spend most of my coding time in VS Code windows.

When I’m building Cloud Native applications, I use namespaces extensively. I have dedicated Kubernetes namespace for every application I’m working on, and then I also create one for every branch I’m working on. This lets me switch very quickly not only between branches, but also between different versions of an entire application.

Read More

Come Meet Us in Person this September!

Come meet us in person this September! The Okteto team will be Codemotion Madrid 2019 (September 24 - 25) and Cloud Native London 2019 (September 27 - 29).

Codemotion Madrid 2019

Pablo will be speaking about Cloud Native Development:

Cloud Native London 2019

Pablo and Ramon will be in the Cloud Native Madrid booth talking about Cloud Native Development, the Kubernetes community in Madrid and showing some of the latest stuff we’ve been working on.

Come say 👋🏽 and get first edition Okteto swag. See you there!