Friday 28 September 2018

Building Node.js Applications inside Docker Containers on Top of Kubernetes

Docker and Kubernetes are great for deploying and running applications but they do not support the development workflow very well. Mounting a project from a local folder into a container, for example, often leads to problems with hot reloading tools like nodemon and make debugging a lot harder. And coding directly on top of Kubernetes is not supported at all at the moment.That's why a colleague from work and I built a small command-line tool that lets you create a remote workspace called DevSpace inside any Kubernetes cluster with just a single command. This DevSpace is connected to your local machine via 2-way code sync (optimized for performance and reliability), port forwarding and terminal proxy. That allows anyone to code and debug locally with their favorite IDE but still build, test and run code directly inside Docker containers running on top of Kubernetes.​We decided to make our tool open source, so that everyone can use it: https://github.com/covexo/devspace​What do you think about the idea of coding directly inside a Kubernetes cluster? What are your experiences with developing nodejs applications with/for Docker and Kubernetes? Which tools are you using?

Submitted September 28, 2018 at 02:17PM by gentele

No comments:

Post a Comment