Getting Started with Node.js on Kubernetes

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2b44849f-ed0b-40ab-a361-ed2ff1e7145f/Untitled.png

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: do.co/kamal

</aside>


Kamal Nasser

Developer Advocate at DigitalOcean

Twitter @kamaln7 - Say Hi!

GitHub @kamaln7

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e4e6cb07-a085-4f19-84b8-fc5ef795185e/da11dcf0-97b6-4ac4-bc21-996605d1d4f5.jpg


Resources

Slides 👇🏼

View/Download Slides

Recording 👇🏼

View Recording

Code 👇🏼

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

</aside>

Node App

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