Automated Web Application deployment On Kubernetes
Hey guys hope you are doing good. Todays my article for automate Web deployment with Kubernetes. Generally, it is not an easy and short task to take code of developer from Jenkins and make os according to his/her need and upload on docker hub and from there you pull the image to deploy on Kubernetes and Kubernetes launch pod isn't it very long and tired things to do again and again because we always need to updates the things frequently once its made right. We tried to do as much as possible .
Let's Get start to do this task !!!!
Job1 ->We will pull file from GutHub and image from Dockerfile and push it to the docker hub.
Setup jenkins for download
Complete job1 !
Job2 -> We will set the Kubernetes environment and create a deployment for web-page
Job2 will work like this:-
This is view when its run for the first time as you can see in IMAGES
Congrats all Set up is done.
Then we use ngrok for give access to outside world
After this ngrok give a link for access page
Congrats guys!!! it's done now
Here we come to end today's article hope you like it. :)
create a job pipeline