Getting Started with Node.js on Kubernetes

You may have heard the buzz around Kubernetes and noticed that many companies have been rapidly adopting it. Due to its many components and vast ecosystem it can be quite confusing to find where the path starts to learn it.

In this session, you will learn the basics of containers and Kubernetes. Step by step, we will go through the entire process of packaging a Node.js application into a Docker container image and then deploying it on Kubernetes. We will demonstrate scaling to multiple replicas for better performance. The end result will be a resilient and scalable Node.js deployment.

You will leave this session with sufficient knowledge of containerization, Kubernetes basics, and the ability to deploy highly available, performant, and scalable Node.js applications on Kubernetes.

<aside> 💰 Use this link to get a $100 credit to try out Kubernetes on DigitalOcean for free:


Kamal Nasser

Developer Advocate at DigitalOcean

Twitter @kamaln7 - Say Hi!

GitHub @kamaln7


Slides 👇🏼

View/Download Slides

Recording 👇🏼

View Recording

Code 👇🏼

<aside> 🚧 Make sure to replace kamaln7 with your own DockerHub username when following the instructions below.


Node App

  1. Create an empty node package: npm init -y
  2. Install express as a dependency: npm install express