CI CD Pipeline to Deploy to Kubernetes Cluster Using Jenkins | AWS DevOps Projects For Beginners

  Рет қаралды 29,381

Virtual TechBox

Virtual TechBox

Күн бұрын

In this video, I will explain ci cd pipeline to deploy to kubernetes cluster using jenkins(devops end to end project example, devops end to end project, deploy to kubernetes using jenkins). This video is about complete ci cd project(aws devops projects for beginners, simple devops projects for beginners, real-time end to end devops cicd project). This video shows devops projects for resume for freshers(devops projects for resume or kubernetes ci cd pipeline github).
Related Search Queries,
how to integrate jenkins with kubernetes cluster
jenkins docker and kubernetes integration
real-time end to end devops cicd project
configure jenkins with kubernetes
aws devops real time projects
mega real-time end to end devops cicd project
realtime devops project
kubernetes ci cd jenkins
kubernetes cicd pipeline jenkins
kubernetes cicd pipeline jenkins
devops realtime projects
devops projects for resume
ci cd pipeline using jenkins
Jenkins Kubernetes Integration
ci/cd pipeline using jenkins to deploy on kubernetes
end to end devops project
complete ci cd implementation from scratch
devops projects for resume for freshers
aws devops real time projects
cicd using jenkins project
complete ci cd pipeline
ci cd pipeline
jenkins pipeline
simple devops projects for beginners
kubernetes ci/cd pipeline using jenkins
devops project
deploy docker image to kubernetes using jenkins
ansible tutorial for beginners
Related Videos,
Real-Time End to End DevOps CICD Project
• Real Time DevOps Proje...
CICD Pipeline using Jenkins, Maven and Apache Tomcat Server
• DevOps Project from Sc...
DevOps CICD Pipeline using Jenkins, Maven and Docker Host
• DevOps Project from Sc...
Connect to me,
LinkedIn --- www.linkedin.com/in/ashfaque-ahmed-shaikh
Facebook --- / vtechbox
Twitter --- / vtechbox
Instagram --- / vtechbox
Email --- ashfaque.s510@gmail.com
GitHub --- github.com/ashfaque-9x
Telegram --- t.me/+rgayvC_exwdlMzU1
=============================
Support my work,
paypal.me/VirtualTechbox
UPI --- ashfaque-9x@axisbank
=============================
Commands===github.com/Ashfaque-9x/Script...
GitHub Repo===github.com/Ashfaque-9x/regist...
#devopsproject #kubernetes #devops
00:00:00 Introduction
00:02:21 Install and Configure the Jenkins
00:12:57 Install and Configure the Maven
00:30:45 Ansible Server Setup and Ansible Installation
01:06:08 Setup Bootstrap Server for eksctl
01:15:51 Setup Kubernetes using eksctl
01:21:18 Integrate Bootstrap Server with Ansible
01:26:14 Create Ansible Playbook to Run Deployment and Service Manifest files
01:31:39 Create Jenkins Deployment Job for Kubernetes
01:36:45 Verify CI/CD by Doing Test Commit on GitHub Repository
01:43:05 Cleanup

Пікірлер: 90
@VirtualTechBox
@VirtualTechBox Жыл бұрын
Do visit to my DevOps Playlist👇 kzbin.info/aero/PLmSlOWkfkugmXU1WVTu_fmrOwjRAbbWvL
@surenkumars3181
@surenkumars3181 15 күн бұрын
really really cool man thankyou so much.... clear explanation for cicd
@ganeshv5580
@ganeshv5580 11 ай бұрын
Thank you. you made our life easy :)
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
You're Welcome.
@gajananbarure4007
@gajananbarure4007 Жыл бұрын
Well explained!
@VirtualTechBox
@VirtualTechBox Жыл бұрын
Thank You @gajananbarure4007
@prashlovessamosa
@prashlovessamosa 11 ай бұрын
Thank you.
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
You're Welcome.
@sujithadr
@sujithadr Жыл бұрын
Expecting different projects similar to this
@VirtualTechBox
@VirtualTechBox Жыл бұрын
Will try.
@shamstabrez2986
@shamstabrez2986 9 ай бұрын
bhai no doubt ap awesome projects karwate h kuch projects microservices pr laiye na jiske andr kubernetes ka use ho r different services n components ek dusre se communicate krri ho
@VirtualTechBox
@VirtualTechBox 9 ай бұрын
I will try.
@ZayanasLittleLion
@ZayanasLittleLion 5 ай бұрын
Thanks for making videos, do you have any video to setup CI/CD pipeline for a nodejs(with typescript) app with github, github actions, gcp cloud biuld, container registry, Docker, Kubernetes, not sure if terraform jenksins or mavin should also be used here , but we use new relic for monitoring and slack for notifications. Do you help one on one in settig it up ? ..We use GCP for servers and AWS for ML.
@VirtualTechBox
@VirtualTechBox 5 ай бұрын
Not yet. I will try to make.
@abbeydauda7747
@abbeydauda7747 2 ай бұрын
Thank you Prof Ashfaque, I love this but I got stuck because I did not see in the video where you installed awscli on the bootstrap server, also, immediately I did that and installed eksctl and I moved it to the bin folder my server keeps crashing, do I have to change the ec2 from t2.micro to t2.small or what?
@VirtualTechBox
@VirtualTechBox 2 ай бұрын
run below commands from root $ sudo yum remove -y aws-cli $ pip3 install --user awscli $ sudo ln -s $HOME/.local/bin/aws /usr/bin/aws $ aws --version
@sumanprasad007
@sumanprasad007 Жыл бұрын
Amazing Project sir, and well explained each and every step @VirtualTechBox
@VirtualTechBox
@VirtualTechBox Жыл бұрын
@sumanprasad007 Thank You for your kind words.
@universe4d2002
@universe4d2002 11 ай бұрын
nice
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
Thank You.
@2mahender
@2mahender Жыл бұрын
nice...do we need to configure github hooks, for automatic run of jenkins jobs?
@VirtualTechBox
@VirtualTechBox Жыл бұрын
Not required. We have given schedule in Poll SCM for every minute. It will verify the GitHub repo every min and if there is any change, it will trigger the job.
@chandankundapura4324
@chandankundapura4324 4 ай бұрын
Hi. I am getting this error while to setup ansible server at 56:05. Could you please guide me. I am running this command $ssh-copy-id 172.31.16.237 and getting this error: "/bin/ssh-copy-id: ERROR: failed to open ID file '/root/.pub': No such file or directory (to install the contents of '/root/.pub' anyway, look at the -f option)"
@VirtualTechBox
@VirtualTechBox 3 ай бұрын
Refer unix.stackexchange.com/questions/212098/unable-to-use-ssh-copy-id-mktemp-failed-to-create-file-via-template
@sagarlokhande2891
@sagarlokhande2891 9 ай бұрын
sir , hatts off your effoerts. i want to say one thing While doing the steps of the project, you should also have told why it has to be done this step ,so that we can understand it better.
@VirtualTechBox
@VirtualTechBox 9 ай бұрын
If I do the this, video would gave become too long.
@manishkumawat011
@manishkumawat011 7 ай бұрын
Hello, can anyone you please help me with DockerFile understanding. I have not understood what last 2 lines is doing.
@VirtualTechBox
@VirtualTechBox 6 ай бұрын
2nd line will copy the tomcat webapps folder to image webapps folder. And 3rd line will copy the .war file from current workspace folder to image webapps folder.
@vsrvlogs5958
@vsrvlogs5958 10 ай бұрын
While copying artifact to ansible over SSH iam getting error (auth fail publickey,passwd ) showing unstable
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
Reconfigure the credentials on Jenkins for the server.
@naren06938
@naren06938 10 ай бұрын
Fentastic project step by step without errors, i need same CICD jen-docker-nginx-k8s to deploy static website and same pipeline for React.Js, bcoz i have my own websites of html+css+js and React.js, i wish yo practice to deploy that by my own, plsss make that also sir
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
I will Try.
@vsrvlogs5958
@vsrvlogs5958 10 ай бұрын
in last git have used webhook? for auto build u not shown in video
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
I haven't used GitHub Webhook, I have used Poll SCM Schedule to Trigger Pipeline.
@amiyakumarnayak6375
@amiyakumarnayak6375 10 ай бұрын
Hello sir why I'm getting Unstable build and can't able to push the image to docker hub ?
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
Is ur image getting build locally perfectly? If yes hen try to run container with it locally. Hope you have done the docker login from CLI.
@nishantsingh5083
@nishantsingh5083 9 ай бұрын
Hello, i didn't get the option of publish over SSH time: 40:53 could anyone suggest me
@VirtualTechBox
@VirtualTechBox 9 ай бұрын
You need to install plugin called "publish over SSH" in your Jenkins.
@shrutidhoke9051
@shrutidhoke9051 11 ай бұрын
1:17:08 ERROR: When i hit "kubectl get nodes" i couldn't get a list of nodes i got the error -- iam_authinticator. please reply😊
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
This error comes due to aws cli version. From root user run below commands on Bootstrap-Server. $ sudo yum remove -y aws-cli $ pip3 install --user awscli $ sudo ln -s $HOME/.local/bin/aws /usr/bin/aws $ aws --version Hope you have assigned IAM role to EC2.
@user-pg6ey2pw6l
@user-pg6ey2pw6l 11 ай бұрын
@48:13 ERROR: Exception when publishing, exception message [Permission Denied] output: UNSTABLE PLEASE HELP ME Ashfaque Sir
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
Hope you have given remote directory as "//opt//docker" and you have given the ownership of /op/docker to ansadmin username by command $ sudo chown ansadmin:ansadmin /opt and $ sudo chown ansadmin:ansadmin /opt/docker
@soumitrabose3277
@soumitrabose3277 10 ай бұрын
Hi sir, well project, learned a lot. One doubt: there are three Jobs created in Jenkins: Test Maven, CI and CD. In CI there is SCM Polling(*****) and GitHub repo mentioned, and as per post build its triggering the CD job. But I guess the Test maven job is missed. the CI job is not added to Test Maven.. Please correct me if I am wrong.
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
"Test-Maven-Build" Job was created & executed only to verify that Maven build is happening or not. At 43:55 we created "Copy_Artifacts_onto_Ansible" Maven Job and configured all settings of "Test-Maven-Build" into this Job also along with Ansible server settings. Later in the video "Copy_Artifacts_onto_Ansible" job has been renamed as "CI_Job".
@soumitrabose3277
@soumitrabose3277 9 ай бұрын
thanks sir, does it mean that in real time we do build only once to check if the war is getting created? as each time we do commit the Maven job will not get trigger if we dont use any hook or Poll SCM. So later when we commit in this particular video, its not getting the newly created war? As test Maven job only creating the war. Please correct me if I missed anything. Thanks in advance@@VirtualTechBox
@soumitrabose3277
@soumitrabose3277 9 ай бұрын
Or as the Copy artifacts job which is later CI job, is doing the build each time as its selected as Maven Project not freestyle or pipeline. As I am new bit confused.
@VirtualTechBox
@VirtualTechBox 9 ай бұрын
@@soumitrabose3277 Every time you commit the code, CI Job get triggered through Poll SCM and you have new Maven build.
@VirtualTechBox
@VirtualTechBox 9 ай бұрын
@@soumitrabose3277 CI Job is Maven job, upon every trigger it will create the new Maven build.
@harshalavaghan3481
@harshalavaghan3481 6 ай бұрын
getting error of unstable of ci pipeline plugin over ssh how to resolve? i tired every possible thing
@VirtualTechBox
@VirtualTechBox 6 ай бұрын
Hope you have installed the plugin "publish over ssh".
@vishnupriya8421
@vishnupriya8421 9 ай бұрын
Hi sir im getting this error while setup kubernets with EKSCTL, i.e., getting Kubernetes version on EKS cluster: error running `kubectl version`: exit status 1 (check 'kubectl version'). pLease help me on this
@VirtualTechBox
@VirtualTechBox 9 ай бұрын
This error comes due to aws cli version. From root user run below commands $ sudo yum remove -y aws-cli $ pip3 install --user awscli $ sudo ln -s $HOME/.local/bin/aws /usr/bin/aws $ aws --version
@user-op6zl3kc8n
@user-op6zl3kc8n 6 ай бұрын
thank you very much, i have same this issues after following this command its worked. @@VirtualTechBox
@VirtualTechBox
@VirtualTechBox 6 ай бұрын
👍@@user-op6zl3kc8n
@adnanrafique4785
@adnanrafique4785 11 ай бұрын
Hi,i have a question here if i have ubuntu OS then i follow the same command and process ??
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
You will have to follow same process but commands may be bit different.
@adnanrafique4785
@adnanrafique4785 11 ай бұрын
thx@@VirtualTechBox
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
@@adnanrafique4785 You're Welcome.
@allindiachannel2290
@allindiachannel2290 4 ай бұрын
can i also run react or nodejs file using this video ?
@VirtualTechBox
@VirtualTechBox 3 ай бұрын
Yes you can.
@prashanthbharadwaj5775
@prashanthbharadwaj5775 11 ай бұрын
Hello Ashfaque, I am getting the error in Kubernetes setup.. Error like Exec credential.. can you please help sir.. Also kindly share the document with commands list sir
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
This error comes due to aws cli version. From root user run below commands $ sudo yum remove -y aws-cli $ pip3 install --user awscli $ sudo ln -s $HOME/.local/bin/aws /usr/bin/aws $ aws --version All the command used in video are already available in description.
@vireshsolanki584
@vireshsolanki584 11 ай бұрын
you have create kubeconfig as well use aws eks kubeconfig documentation
@aravinthan4367
@aravinthan4367 10 ай бұрын
Hi Sir , I am getting error @ 48.10 , while building copy artifiacts to ansible . ********************************************************************************* git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. SSH: Current build result is [FAILURE], not going to run. Finished: FAILURE ******************************
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
Hope you have given Remote Directory://opt//Docker and user ansadmin has right on this directory
@user-pg6ey2pw6l
@user-pg6ey2pw6l 11 ай бұрын
@40:50 Publish over SSH is not there in my system
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
You need to install plugin called "publish over ssh" in your Jenkins.
@user-pg6ey2pw6l
@user-pg6ey2pw6l 11 ай бұрын
@@VirtualTechBox thank you very much for the quick response ashfaque sir ❤ please continue the good work, may allah SWT bless you❤
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
@@user-pg6ey2pw6l Thank you for your kind words.
@handsomevillian
@handsomevillian 10 ай бұрын
goto manage jenkins > plugins > available plugins > search for publish over ssh > install
@manishkumawat011
@manishkumawat011 7 ай бұрын
you have downloaded EKSCT but link you have pasted from where ? how we can get that link
@VirtualTechBox
@VirtualTechBox 7 ай бұрын
Link & command I have provided in one repo which is available in description. github.com/Ashfaque-9x/Scripts/blob/main/DevOps-Project-with-Jenkins-Maven-and-Kubernetes.txt
@manishkumawat011
@manishkumawat011 7 ай бұрын
@@VirtualTechBox Thanks
@VirtualTechBox
@VirtualTechBox 7 ай бұрын
Most Welcome.@@manishkumawat011
@manishkumawat011
@manishkumawat011 7 ай бұрын
@@VirtualTechBox Hello, can you please help me with Dockerfile understanding. I have not understood what last 2 lines will do.
@sreekanth_ksk
@sreekanth_ksk 5 ай бұрын
Sir in realtime what is the Size of CI server we use ??
@VirtualTechBox
@VirtualTechBox 5 ай бұрын
Depends on the environment and requirement.
@saurabhpatil2085
@saurabhpatil2085 11 ай бұрын
We need declairative pipeline project for the same, plz check and upload if any.
@VirtualTechBox
@VirtualTechBox 11 ай бұрын
Will try.
@manishkumawat011
@manishkumawat011 7 ай бұрын
only having one issue with you sir. you opened many links in videos but not mentioned what you searched for that and not even mentioned link in description also.
@VirtualTechBox
@VirtualTechBox 7 ай бұрын
All the commands & links I have given in the github repo mentioned in the description. If any thing missing kindly provide me timestamp of the video I will add it in repo github.com/Ashfaque-9x/Scripts/blob/main/DevOps-Project-with-Jenkins-Maven-and-Kubernetes.txt
@manishkumawat011
@manishkumawat011 7 ай бұрын
@@VirtualTechBox Thanks
@VirtualTechBox
@VirtualTechBox 7 ай бұрын
You're Welcome@@manishkumawat011
@agony944
@agony944 Жыл бұрын
Baba , kuch na smjh aa rha
@VirtualTechBox
@VirtualTechBox Жыл бұрын
Step-1 se project practice karna shuru kar do sab samajh aane lage ga.
@handsomevillian
@handsomevillian 10 ай бұрын
sir i got confusion how did you get regapp-deployment.yml and regapp-service.yml
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
Along with repository it was cloned. If it is not present, you need to make it. Its a manifest file to deploy resources on Kubernetes.
@handsomevillian
@handsomevillian 10 ай бұрын
@@VirtualTechBox i got in later that you provide us a link in description ...thank you
@VirtualTechBox
@VirtualTechBox 10 ай бұрын
You're Welcome@@handsomevillian
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 159 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
DevSecOps Pipeline Project: Deploy Netflix Clone on Kubernetes
1:34:31
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,1 МЛН
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 12 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 415 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,8 МЛН