Difficulty: beginner-internediate
Estimated Time: 20-30 minutes

Architecture of the micro services created in this tutorial

Host
[Not supported by viewer]
Kubernetes node
Kubernetes node
Node service (load balancer)
Node service (load balancer)
Node server
Node server
Node server
Node server
Node service (load balancer)
Node service (load balancer)
Node client
Node client
Node client
Node client
User
User

Credits

This tutorial was created by Peter Szanto

Build Microservices with Docker and Kubernetes in 30 minutes

Step 1 of 5

Run nodejs server natively

Architecture, created in this step

Host
[Not supported by viewer]
server.js
server.js
User
User

Credits

Run server

Change to server directory cd node-server

Look around ls -l

Run node server locally node server.js

Curl local server curl localhost:3000

Check hostname hostname

Or open in browser

Terminal
Local server
Docker server
Visualise Host