ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Kubernetes Jobs,init container and pod lifecycle-Hindi/Urdu | Lec-56 | Complete Kubernetes series
ฝัง
- เผยแพร่เมื่อ 21 ธ.ค. 2021
- LEC 56 NOTES TECHNICAL GUFTGU
====================
Install Docker
$ sudo apt update && apt -y install docker.io
Install kubectl
$ curl -LO storage.google... -s storage.google... && chmod +x ./kubectl && sudo mv ./kubectl /usr/local/bin/kubectl
Install Minikube
$ curl -Lo minikube storage.google... && chmod +x minikube && sudo mv minikube /usr/local/bin/
Start Minikube
$ apt install conntrack
$ minikube start --vm-driver=none
$ minikube status
===========Job=====================================
apiVersion: batch/v1
kind: Job
metadata:
name: testjob
spec:
template:
metadata:
name: testjob
spec:
containers:
- name: counter
image: centos:7
command: ["bin/bash", "-c", "echo Technical-Guftgu; sleep 5"]
restartPolicy: Never
--------------
apiVersion: batch/v1
kind: Job
metadata:
name: testjob
spec:
parallelism: 5 # Runs for pods in parallel
activeDeadlineSeconds: 10 # Timesout after 30 sec
template:
metadata:
name: testjob
spec:
containers:
- name: counter
image: centos:7
command: ["bin/bash", "-c", "echo Technical-Guftgu; sleep 20"]
restartPolicy: Never
-------------
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: bhupi
spec:
schedule: "* * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- image: ubuntu
name: bhupi
command: ["/bin/bash", "-c", "echo Technical-Guftgu; sleep 5"]
restartPolicy: Never
=================
Now you can Donate us via Paypal or Google Pay
Paypal link : www.paypal.me/...
GooglePay/PhonePe/BHIM App UPI ID : bhupinderccs@okaxis
Visit Our Website for all the Courses- www.technicalguftgu.in
Do subscribe to TECHNICAL GUFTGU channel and Press Bell icon & get regular updates on videos, DIRECT LINK TO CHANNEL : / technicalguftgu
Here are direct links of My All the Playlist: MUST CHECK
IPv6 Complete Tutorial for beginners Link : • IP Version 6 Tutorials...
Microsoft Azure Tutorial for beginners in Hindi/Urdu AZ-103 and AZ-900 LINK : • Microsoft Azure Tutori...
Cloud computing tutorials For beginners Link : • Cloud Computing Tutori...
AWS Solution Architect-Associate complete Tutorials Link : • AWS Solution Architect...
Devops tutorials in Hindi:-
• What are the Pre-requi...
CCNA Complete Tutorials /Computer Networking Link : • CCNA Full course in Hi...
Thanks For giving Your Valuable time.
Regards,
Technical Guftgu Team
Thank you Sir for your selfless contribution to the society.
Bhupinder sir I'm from Pakistan and i got job in DevOps because of your DevOps Series. and i'm waiting to finish kubernetes series so i can prepare and can crack the CKA exam.
One of the best trainer, Thank you Bhaio. I'm from Bangladesh.
_you such a legendary teacher... i don't understand why you're so underrated on TH-cam..._
_i wish Universe blesses you with even more knowledge and wealth and you keep sharing with us..._
People have lost the sense of what is Good and what is Bad in this age.
I am devops engineer in a company now just bcoz of you. Thanks bhai.
please share details sir .. i need your guaidance
Great.Hame Linkedin par tag kare aur channel ke baare me sabhi ko Batayein.
Dear izhar syed guidance is this channel and sir phupindar. and from my side work hard you will succeed
Kon si city m aap job kr rhe ho sir
Can you please help me with resume format I have completed all videos
Happy Guru Purnima sir..aapnai bht kuch sikhaya hai..thank you for everything.. bhagwaan ji aapko kush rakhaiii❤❤
Thank you Bhupendra sir, I also got new job with Docker and kubernetes.
Love your teaching way.
awesome lecture.. and Inti container YML
apiVersion: v1
kind: Pod
metadata:
name: initcontainer
spec:
initContainers:
- name: c1
image: centos
command: ["/bin/bash", "-c", "echo Technical-Guftgu > /tmp/xchange/testfile; sleep 30"]
volumeMounts:
- name: xchange
mountPath: "/tmp/xchange"
containers:
- name: c2
image: centos
command: ["/bin/bash", "-c", "while true;do echo 'cat /tmp/data/testfile'; sleep 5; done"]
volumeMounts:
- name: xchange
mountPath: "/tmp/xchange"
volumes:
- name: xchange
emptyDir: {}
Thanks a lot Bro
Small correction: volumeMounts: name: data (not xchange in the 2nd case)
"chaliye acchi baat hai and chalo buniyadi topic par aate hai"
this is your takiya kalaam sir You are great job sir
I'm Greatfull To Youuuu Sir
you are simply awesome sir, maza aa gaya . understood the job and cronjob concept clearly😍😍
Please continue like this, we need mentor like you 🔥🔥🔥
Thankyou
Really Sir, you are god of teaching, no any institute provide such deep and brief knowledge on DevOps which you provide us. Hats off your dedication toward our side and teach us this new technology which is high in demand at present
Excellent videos for a non technical person as well, Just a small suggestion. If possible can you please make a video on scenarios we might encounter during our day to day work on Kubernetes. This will be really helpful to crack the interviews as most of the interviewers ask scenario based questions. Thanks a lot.
Aapko Dil se Salaam hai bhai, jis tarha se aap devops k Saat Saat Insaniyat k Baat karte hai, aur acha massage dete hai, Love you sir ji 😍 ♥️👏👏👏
lectures to aap kai achaiy hain. lakin yai jo shaairy ka turka lagta hai is ki to baat kuch aur hai. Feel fresh after a intense lession. Thanking you g
Night shift aur Bhupi sir ki Kubernetes ki notification aana.. Still a better love story than Twilight 😁🙃🙃🙃
Thnks for uploading the new content sir ji 🤗
helllo sir maine apke devops , aws ke playlist dekh ke devops ke liye interview diya & im selected in company as devops intern thank you sir you doing good work .. god bless you sir ..
Bro, are you a fresher or experienced person?
Non stop ....Bhupi Sir.. Thank you 😊
sir i am currently watching your networking lectures and i am amazed
love from pakistan
can you plz make a small lec on ports in networking
thank you sir and stay blessed
Hamesha ki tarah...
Video ka last part pehle suna..
Waah bhai waahhh..... 👍👍
Very Well Bhupi Sir. A BIG HEART and LOVE. god bless you!!!!!!!!!!!!!!!!1
Sir bhupinder. I think Pakistan me jtne be DevOps engineer new arhy ha. Sab apky lectures sy arhy ha. Love from Lahore
Thank you for uploading this valuable video.
Legendary teacher in the universe :)
Awesome tutorial as always. Thanks for your efforts.
Awesome content as always thank you and love you sir
great teacher
well explanied series keep going or doing sir
love from Pakistan karachi
I appreciate your efforts
Best K8s playlist on TH-cam. Thank you sir
Sir aaj bahut ache lag rahe the bilkul apne teaching ki tarah.
Thank you Sir
Sir you are a awesome teacher!!!
Unbelievable.. I searched through most of the tutorials and ended on this. Incredible. Too good. Thankyou for your efforts.
I was looking for Istio service mesh, reddis, rabbitmq, openshift tutorials. It will be great if you can teach that end to end. Additionally some mini project will help.
I am sure your work and efforts will pay back with this kind of teaching.
Sir, I didn't seen such amazing and down to earth Teacher like you on whole youtube. I'm now in 1st year of my Engineering College. Can you please tell me how can I use your channel for my learning ?? Right now I just started learning C language from youtube. It will be really very helpful if you guide me. And also thank you for accepting my connection request over linkedin.
you are best trainer ever
Excellent series of Kubernetes both for technical and non-technical
I appreciate you lot because of your teaching as well as the way you motivate the non-technical candidates "Awesome lecture sir"...what about terraform when this series will come sir
Today's morning starts with this video ...ooo my goodness , thank you so much Bhupi sir ❤️
Respect for your hardwork!
Thanks!
Thanks awesome bhuppi sir Mind-blowing
When can we expect Terraform training series? I like your DevOps tutorials. Very Detailed and Informative.
Yes please, drop lecture on Terraform
U can watch Gaurav sharma tutorial
@@ankitasingh8737 The Cloud World tutorials is also good. Go all 9 lectures of this guys.
Started terraform training
@@ashutoshpandey6110 Will resume after GCP 😁
Thanks for all effort and contribution
Thanks for all your efforts sir... This series is really very helpful
Thank you Sir
again thanks for this series salute sir ji
Thanks Sir :) you are a real comrade.
Happy new year to all and special thanks to to sir for make this training videos.
I Hope support to sir to encourage for this great job.
Bhupinder, bahut badhiya.
wow ! aaj kya lag rahe ho ❤ Ekdum Jhakkass bhidu 👌
Thank you sir for this amazing series. I got offer in devops because of you.
can u guide me bro , what to do after watching this series is there anything else i need to learn ??
@@MohdDanish-kv9sw no bro .it's time to go for interviews .give your best bro.🤞👍
@@amolbhalerao4049 thanks bro
can u tell me about the interview questions they asked
@@amolbhalerao4049 did they ask for any certificate..?
Best content on K8s
for cron job i was getting wrror in yml file so if someone is getting error can do this
apiversion: batch/v1 should work rest of the yml is correct The error was because the new version of K8s doesnt supports v1beta1 so if you replace it will work
thanks sir for your efforts !!
The cron expression * * * * * consists of five fields:
Minute: * - Every minute, if we want for everymin (*****)
Hour: * - Every hour (0****)
Day of the Month: * - Every day of the month (ex: 15th day of month > 0 0 15 * *)
Month: * - Every month (001**)
Day of the Week: * - Every day of the week (0 0 * * *)
liked before watching,, thanks a ton
Hello sir … I am studying devops only from ur channel … but I attended one interview and answered everything they asked … only by seeing ur videos I was able to answer …
But regarding AWS terraform when they asked I was unable to answer anything please cover AWS terraform also sir
This is very informative series. Appreciate your efforts. When are you planning to cover pod identify??
bahut badhia padhate hain sir aap
such a great teacher 👍
Even though some commands are depricated on Kubernetes, I find this video very useful and inspiring. the text file or the YAML file details were not found. if those could be made available again lots of ppl would get helped.
Sir mern web app ko dockerize and pipeline complete project pe video banaeye. Thank you so much for your videos!!
Super mentor Please also make videos on end to end projects
Feeling Awsome...
Thank you so much Bhupinder sir :)
Padhne wale se jyda padhane wala Jyada mehnat kar rhe hain
M glad to learn deeply from your Videos... Awesome lectures... Will you please create some videos for SAP n ABAP...
activedeadlineseconds means to terminate the container after specific time but you said that it will wait for 10secs after the container finished its job which is wrong, it will just kill the pod after 10 secs whether the container/sleep is configured for 60 secs or what
Great job sir.
Pashmeena shawal pe sher yaad aaya ' ragbat ki pashmeena odhkar ham malang hai aapke agosh me janab"
you such a great...........
thankuuu sir ...
Great learning
Thanks for sharing
Updated yml for cronjob
apiVersion: batch/v1
kind: CronJob
metadata:
name: bhupi
spec:
schedule: "* * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- image: ubuntu
name: bhupi
command: ["/bin/bash", "-c", "echo Technical-Guftgu; sleep 5"]
restartPolicy: Never
Guruji namo nama🙏🙏🙏🙏🙏🙏
Jaise notification aya phle like kiya sir aye r like na ho aisa nhi hoskta
New video uploaded chaliye aachi baat hai 😀👍
always greate
aiye sbse phle shyri sunte h lecture sunne se phle
Very Good, Thx
Hello sir great job
lots of love sir
Thank you so much sir ji
looking Beautifull in shaull
Thanks bhupinder sir 🙏
Legend is back 👍😂
Great Sir...
Thanks you sir
Good one
shukriya sir
Best teacher
Sir plzz bring lectures on cloud native training like kafka grafna elastic search fluentbit etc.
Thank you sir ☺️☺️☺️
Dear guru ji, aapse gujarish hai ki ek video ECS per bhi bana dijiye taki concept clear ho jaye kubernetes ka to master bana hi diye 🙏🙏🙏🙏🙏🙏🙏🙏
great, thanks a lot
Thanks sir 🙏
Sir ccna ke topics pe bhi videos banao na plzz
From rajasthan
Great Sir 😊
First View
Terraform ka v video upload kare sir???