Run Your First Scalable Web Server Under 30 min

1. Set up your K8s

You can follow my first blog in this series to set up the cluster, just do not do the last step — delete the cluster

2. Download all the yaml file to tell k8s what to do

Once you set up the cluster, download all the yaml file from github and put them all together into a folder called “k8s-demo”. Each of these files defines a different object in of the web server, once you run them all together you will have the whole system runing. You can run them all together in your terminal using:

3. Test your web server

Once you finished all the above steps, you can go to postman and start sending HTTP request to test your application! The frontend of this application lets you add new user, remove existing user and get a list of existing users.

I am a Machine Learning Engineer with special interest in mental health and finance.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store