Kubernetes Jobs,init container and pod lifecycle-Hindi/Urdu | Lec-56 | Complete Kubernetes series

Поділитися
Вставка
  • Опубліковано 28 вер 2024
  • 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

КОМЕНТАРІ • 209

  • @ganeshvempati27
    @ganeshvempati27 Рік тому +10

    Thank you Sir for your selfless contribution to the society.

  • @Research-l8w
    @Research-l8w 2 роки тому +41

    _you such a legendary teacher... i don't understand why you're so underrated on UA-cam..._
    _i wish Universe blesses you with even more knowledge and wealth and you keep sharing with us..._

    • @parvezshaikhul
      @parvezshaikhul 2 роки тому +2

      People have lost the sense of what is Good and what is Bad in this age.

  • @RafiqKhan-rd8bz
    @RafiqKhan-rd8bz 2 роки тому +4

    Thank you Bhupendra sir, I also got new job with Docker and kubernetes.
    Love your teaching way.

  • @jahangirkhan82
    @jahangirkhan82 2 роки тому +18

    I am devops engineer in a company now just bcoz of you. Thanks bhai.

    • @izharsyed4869
      @izharsyed4869 2 роки тому +1

      please share details sir .. i need your guaidance

    • @TechnicalGuftgu
      @TechnicalGuftgu  2 роки тому +9

      Great.Hame Linkedin par tag kare aur channel ke baare me sabhi ko Batayein.

    • @jahangirkhan82
      @jahangirkhan82 2 роки тому +1

      Dear izhar syed guidance is this channel and sir phupindar. and from my side work hard you will succeed

    • @qaziaman2320
      @qaziaman2320 Рік тому

      Kon si city m aap job kr rhe ho sir

    • @ShubhamPatel-bw2kb
      @ShubhamPatel-bw2kb Рік тому

      Can you please help me with resume format I have completed all videos

  • @sandeshsuryawanshi1599
    @sandeshsuryawanshi1599 2 роки тому +2

    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 ..

  • @jaideeptonk1854
    @jaideeptonk1854 2 роки тому +5

    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 🤗

  • @ISHANICUTIEPIE
    @ISHANICUTIEPIE 2 роки тому +6

    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: {}

  • @shahsalahuddinmca1
    @shahsalahuddinmca1 2 роки тому

    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 😍 ♥️👏👏👏

  • @sagarparab1837
    @sagarparab1837 2 роки тому +3

    Please continue like this, we need mentor like you 🔥🔥🔥
    Thankyou

  • @vashisththakar2695
    @vashisththakar2695 4 місяці тому

    you are simply awesome sir, maza aa gaya . understood the job and cronjob concept clearly😍😍

  • @swativerma9494
    @swativerma9494 2 місяці тому

    Happy Guru Purnima sir..aapnai bht kuch sikhaya hai..thank you for everything.. bhagwaan ji aapko kush rakhaiii❤❤

  • @farji-ud5uu
    @farji-ud5uu 2 роки тому +1

    Very Well Bhupi Sir. A BIG HEART and LOVE. god bless you!!!!!!!!!!!!!!!!1

  • @ishanyadav8209
    @ishanyadav8209 2 роки тому +2

    Legendary teacher in the universe :)

  • @kazishafin1
    @kazishafin1 2 роки тому

    Best K8s playlist on UA-cam. Thank you sir

  • @Ishanawasthi1489
    @Ishanawasthi1489 2 роки тому

    Sir aaj bahut ache lag rahe the bilkul apne teaching ki tarah.
    Thank you Sir

  • @ambikaprasad9464
    @ambikaprasad9464 2 роки тому

    Excellent series of Kubernetes both for technical and non-technical

  • @numair3
    @numair3 2 роки тому +3

    I appreciate your efforts

  • @ashutoshkumar-wh3tp
    @ashutoshkumar-wh3tp 2 роки тому +2

    Awesome content as always thank you and love you sir

  • @Stoic_Mindset_4u
    @Stoic_Mindset_4u 2 роки тому +8

    One of the best trainer, Thank you Bhaio. I'm from Bangladesh.

  • @prithvivishwanath
    @prithvivishwanath 2 роки тому +2

    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

  • @hassanaslam1536
    @hassanaslam1536 2 роки тому +2

    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

  • @khushalchugh
    @khushalchugh Рік тому

    Respect for your hardwork!

  • @anamchaudhari749
    @anamchaudhari749 8 місяців тому

    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 !!

  • @shikhakashyap4611
    @shikhakashyap4611 2 роки тому

    Thanks for all your efforts sir... This series is really very helpful

  • @amolbhalerao4049
    @amolbhalerao4049 2 роки тому +1

    Thank you sir for this amazing series. I got offer in devops because of you.

    • @MohdDanish-kv9sw
      @MohdDanish-kv9sw 2 роки тому +1

      can u guide me bro , what to do after watching this series is there anything else i need to learn ??

    • @amolbhalerao4049
      @amolbhalerao4049 2 роки тому +1

      @@MohdDanish-kv9sw no bro .it's time to go for interviews .give your best bro.🤞👍

    • @MohdDanish-kv9sw
      @MohdDanish-kv9sw 2 роки тому

      @@amolbhalerao4049 thanks bro

    • @MohdDanish-kv9sw
      @MohdDanish-kv9sw 2 роки тому

      can u tell me about the interview questions they asked

    • @himanshuamin9835
      @himanshuamin9835 Рік тому

      @@amolbhalerao4049 did they ask for any certificate..?

  • @neerajrawal81
    @neerajrawal81 2 роки тому

    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.

  • @deepakv30
    @deepakv30 Рік тому

    Best content on K8s

  • @rajendraghimire2008
    @rajendraghimire2008 Рік тому

    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.

  • @viveksingh-xl2ut
    @viveksingh-xl2ut Рік тому

    Thanks Sir :) you are a real comrade.

  • @khushalsapariya9304
    @khushalsapariya9304 2 роки тому

    wow ! aaj kya lag rahe ho ❤ Ekdum Jhakkass bhidu 👌

  • @sharukh-e4x
    @sharukh-e4x 2 місяці тому

    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 * * *)

  • @MANPREETKAUR-ee4wx
    @MANPREETKAUR-ee4wx 2 роки тому +1

    Thank you Sir

  • @ShashiKumar-ui3zj
    @ShashiKumar-ui3zj 10 днів тому

    Updated yml for cronjob
    use- "apiVersion: batch/v1" instead of "apiVersion: batch/v1beta1"

  • @AbhaySingh-de1uq
    @AbhaySingh-de1uq 2 роки тому

    Bhupinder, bahut badhiya.

  • @shamstabrez2986
    @shamstabrez2986 2 роки тому

    sir yahan pr ek sawal jaise k maine abhi jobs k bare mein pdha r apne bataya k jobs apna kam karega r container band hojyga toh suppose maine agr db ka backup krwaya jobs k through r backup hone k bd container agr stop hojata h toh phr jhe backup data kaise milega
    ya phir aisa hoga k container stop srf hoga lekin usme jo data backup hoga usey bd mein dkh skte h

  • @shamstabrez2986
    @shamstabrez2986 2 роки тому

    Jaise notification aya phle like kiya sir aye r like na ho aisa nhi hoskta

  • @aanchaldogra
    @aanchaldogra 2 роки тому

    liked before watching,, thanks a ton

  • @mantukumar-qn9pv
    @mantukumar-qn9pv 2 роки тому

    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 🙏🙏🙏🙏🙏🙏🙏🙏

  • @shamstabrez2986
    @shamstabrez2986 2 роки тому

    aiye sbse phle shyri sunte h lecture sunne se phle

  • @girishfury2630
    @girishfury2630 Рік тому

    container sleep time was 20 sec usually as per your earlier note, the pods should be terminated after 20 second + 10 seconds but in this case the pod got terminated in 10-15 secs only.. any reason behind this ?

  • @taimurmalik280
    @taimurmalik280 2 роки тому

    Sir cron job ka bta day aik baat
    POSTGRES ka backup/restore kesy kr skty haii using cron jobs in k8s

  • @Decipline_Life1
    @Decipline_Life1 11 місяців тому

    Guruji namo nama🙏🙏🙏🙏🙏🙏

  • @namangarg86
    @namangarg86 2 роки тому +2

    Sir, what is daemon Sets?

  • @nasrullahturke4480
    @nasrullahturke4480 2 роки тому

    Sir kya aap azure Ke series continue karne waale hai kya. Plz app start kare. Just finished watching your virtualisation series 5 videos.

  • @parikshitkudalkar2854
    @parikshitkudalkar2854 2 роки тому

    Feeling Awsome...

  • @keshavgupta417
    @keshavgupta417 2 роки тому

    Legend is back 👍😂

  • @vishalkalra5607
    @vishalkalra5607 11 місяців тому +1

    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

  • @GirishGowda
    @GirishGowda 2 роки тому

    Job is a bit confusing sir ...even in pod if we dont use while loop in command section of yml file ......it runs and then stops by itself .Even in jobs yml file its getting stopped after work ...

  • @niharikadixit5723
    @niharikadixit5723 Рік тому

    Thank you so much sir ji

  • @umairkhalid2691
    @umairkhalid2691 2 роки тому

    looking Beautifull in shaull

  • @amanullahghouri1149
    @amanullahghouri1149 2 роки тому

    lots of love sir

  • @afzalsami4215
    @afzalsami4215 Рік тому

    Thanks for sharing

  • @vedantpanwar3374
    @vedantpanwar3374 Рік тому

    minikube bhi start nhi ho rha ab apki wli cmd s cri.dockered missing y error ata h ab

  • @ashujoshi8848
    @ashujoshi8848 2 роки тому

    always greate

  • @alokdumbre
    @alokdumbre Рік тому

    in cronjob api version v1beta1 is deprecated after k8`s version 1.22 only mention v1 going forward , else you will get error when executing manifest

  • @sherazhussainmughal2784
    @sherazhussainmughal2784 Рік тому

    Very Good, Thx

  • @mayurigore1458
    @mayurigore1458 2 роки тому

    Sir please software testing full course ki series banaiye it's a request

  • @hinduhindu12
    @hinduhindu12 2 роки тому

    Good one

  • @bhalendrasharma5283
    @bhalendrasharma5283 2 роки тому

    Thank you sir ☺️☺️☺️

  • @dipendrachaudhary3601
    @dipendrachaudhary3601 2 роки тому

    please make video regarding operator and CRD

  • @anilupadhyay4752
    @anilupadhyay4752 2 роки тому

    Good morning sir. Sir pipeline pe ek vedio bana dejiye

  • @singhvirendra18
    @singhvirendra18 2 роки тому

    I have db script having user/roles and other busissess meta-data which i want to run just after pod having oracle db is started. which object i can i use or how can i achieve that, could not find any example for this scenario.

  • @vivekjadhav4984
    @vivekjadhav4984 2 роки тому

    Sir please create video on kubernetes networking.

  • @vinayakpatil5559
    @vinayakpatil5559 Рік тому

    When I try to execute the first curl link i am getting error message no such file or directory exist

  • @anamchaudhari1420
    @anamchaudhari1420 8 місяців тому

    i think init container code is not here in description here i have types acc to sir
    apiVersion: v1
    kind: Pod
    metadata:
    name: initcontainer
    spec:
    initContainers:
    - image: centos
    name: C1
    command: ["/bin/sh", "-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/data"
    volumes:
    - name: xchange
    emptyDir: {}

  • @talkwithemon2685
    @talkwithemon2685 2 роки тому

    Brother industry main sirf docker and kubernetes se hi questions pouch rahe hain ...

  • @adilathif1085
    @adilathif1085 2 роки тому

    can you explain about sonarqube

  • @punitasingh9247
    @punitasingh9247 2 роки тому

    Sir plz give some idea about terraform

  • @sourabhmalavade7554
    @sourabhmalavade7554 2 роки тому

    Please explain damonset and helm chart

  • @educationalgeeks5999
    @educationalgeeks5999 2 роки тому

    Good

  • @pcpanda80
    @pcpanda80 2 роки тому

    First View

  • @bhaskarmehta746
    @bhaskarmehta746 2 роки тому

    24:47 Sir here I am getting status as Error. What may be the problem?

  • @vijaytyagi3231
    @vijaytyagi3231 2 роки тому

    Hi bhupendar sir, you there ?

  • @Mshoyebk
    @Mshoyebk Місяць тому

    minikub unable to insatll( Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.30.0 requires crictl to be installed in root's path)

  • @RockO7
    @RockO7 2 роки тому

    Please suggest me for cloud course i'm in 5G telecom background want switch on CLOUD

  • @ghanshyamrathod7593
    @ghanshyamrathod7593 Рік тому

    Setting up minikube not working now sir. New Kubernetes version require some more tool to validate.. please add updated steps or anyone knows...

    • @Deepak-Singh23
      @Deepak-Singh23 Рік тому

      did you found out the minikube new steps for installing ?

  • @avaisqurni5971
    @avaisqurni5971 2 роки тому

    Is there any reason Lec 58 hidden??

  • @marvelindia9975
    @marvelindia9975 2 роки тому +1

    Gurudevvvvvv

  • @musharafgazi5666
    @musharafgazi5666 2 роки тому

    Please teach openshift

  • @dkaur7799
    @dkaur7799 Рік тому

    🙏

  • @kamilmansoor9193
    @kamilmansoor9193 2 роки тому

    restartPolicy: Never what does this mean in kubernetes?

  • @user-pr6fn1jz6m
    @user-pr6fn1jz6m 2 роки тому

    Sir plz helemchart

  • @chandrashekharkumar4820
    @chandrashekharkumar4820 2 роки тому

    No init container yaml file in sample

    • @TechnicalGuftgu
      @TechnicalGuftgu  2 роки тому

      Please download the complete file from our telegram Group

  • @Swapneshmistryswapnesh
    @Swapneshmistryswapnesh 2 роки тому

    Hello Sir

  • @jasbirsinghsohi
    @jasbirsinghsohi Рік тому

    Watched on 16/10/2022

  • @vedaantvidyarthi6423
    @vedaantvidyarthi6423 2 роки тому

    please unhide last video ...

  • @debrajpradhan5500
    @debrajpradhan5500 2 роки тому +2

    Padhne wale se jyda padhane wala Jyada mehnat kar rhe hain

  • @yashwanthyashu7388
    @yashwanthyashu7388 Рік тому

    Thanks!

  • @KidsStoryTime-
    @KidsStoryTime- Рік тому

    Thanks sir 🙏

  • @mymanageaccount9434
    @mymanageaccount9434 2 роки тому +3

    Sir bhupinder. I think Pakistan me jtne be DevOps engineer new arhy ha. Sab apky lectures sy arhy ha. Love from Lahore

  • @talhasaeed3053
    @talhasaeed3053 2 роки тому +5

    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

  • @zafar103
    @zafar103 2 роки тому +7

    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.

  • @muhammadusman6713
    @muhammadusman6713 2 роки тому +6

    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.

    • @MUHAMMADANAS-r2q
      @MUHAMMADANAS-r2q 15 днів тому

      can you please guide me i am also learning devops from sir bhupinder
      m from pakistan.

    • @MUHAMMADANAS-r2q
      @MUHAMMADANAS-r2q 15 днів тому

      any contact details or email

  • @raghavdixit7746
    @raghavdixit7746 2 роки тому

    Thanks!

  • @nirajjaiswal6468
    @nirajjaiswal6468 9 місяців тому +1

    I'm Greatfull To Youuuu Sir

  • @bhavikk1144
    @bhavikk1144 2 роки тому +15

    When can we expect Terraform training series? I like your DevOps tutorials. Very Detailed and Informative.

  • @nikhilwagle8466
    @nikhilwagle8466 2 роки тому +1

    Sir mern web app ko dockerize and pipeline complete project pe video banaeye. Thank you so much for your videos!!

  • @debrajpradhan5500
    @debrajpradhan5500 2 роки тому +2

    Thank you for uploading this valuable video.

  • @prateekjaiswal9245
    @prateekjaiswal9245 2 роки тому +3

    Awesome tutorial as always. Thanks for your efforts.

  • @pratyushpahari2606
    @pratyushpahari2606 2 роки тому +2

    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.