Let’s assume you have developed your app. It’s a great app, you are happy with the output and now you need to deploy. Easy Solution. Let’s go for docker. For simplicity, I am going to present one of the apps that I was building on the process of learning node.js and express during the corona pandemic ( of course during my free time after remote office work ). Find the source code here:
https://github.com/humayun-rashid/covid-19-node-app
For a moment, assume that it is your app and you would like to deploy it to the docker registry. Actually it’s very simple if you…
This is the part 2 of my previous post. You can find part one here.
See minikube in action!
Start a cluster by running:
minikube start
Access the Kubernetes Dashboard running within the minikube cluster:
minikube dashboard
Once started, you can interact with your cluster using kubectl
, just like any other Kubernetes cluster. For instance, starting a server:
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4
Exposing a service as a NodePort
kubectl expose deployment hello-minikube --type=NodePort --port=8080
minikube makes it easy to open this exposed endpoint in your browser:
minikube service hello-minikube
Upgrade your cluster:
minikube start --kubernetes-version=latest
Start a second local…
I will assume you already know about Kubernetes, you have some knowledge with Docker and you want to utilize your Docker knowledge to get started with Kubernetes. It’s kind of hard to get to see the big picture with Kubernetes, but once you there it will be worth it. This post is not going to make you a pro, but at least you will be getting started with Kubernetes on your local machine. Sit tight and let’s get started.
Things you will need before getting started with Hands-on:
You may have already heard about docker and how great it is. If you have not you can get your idea from their official site. In short, if you are looking forward to starting a career in DevOps, the first thing you should know and learn about is containerization. There are several containerization technologies are available, but Docker has become the de facto standard to build and share containerized apps. In this story, I am going to tell you how you can make your hands dirty with Docker.
It…
This is the second part of RESTful API development with Node.js and Express. I hope you already have gone through the first part and created your project environment. If you have not read the first part, you can check it here .In this part, we are going to get started building our RESTful API.
You will find all the codes from Github:
https://github.com/humayun-rashid/first-rest-api-medium.git
We will start by creating a new directory with a preferred name. In my case, I am naming it “first-rest-API”. …
Probably you have heard about it a lot and you still don’t have a clear idea of what is RESTful API, what it does and how to create one! Don’t worry. I was in the same situation for a longer time than you think and it took quite some time to learn it!
The best way to learn about RESTful API is to learn by doing. Trust me! You will learn a lot if you just start creating one and I can promise you that no other stack except NodeJs and Express will help you to get started!
But wait…
Cloud Infrastructure Engineer