Self-Deploying Node.js Applications

A few days ago I was watching a Youtube a talk given by Kelsey Hightower titled, “Self Deploying Kubernetes Applications.” In this talk, which is a bit old now (over a year), he was demoing a Golang application capable of running locally but also capable of deploying itself into a Kubernetes cluster.

This is how deploying applications into the cloud should be, instead of copy/pasting/modifying configuration files or issuing cryptic commands. It should be as simple, just like running a process on our laptop. So, after watching this talk, I started to think about how to achieve this with one of my favorite programming languages, JavaScript/Node.js.