Kubernetes Deployment Tutorial - yaml explained + Demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มิ.ย. 2024
  • In this kubernetes tutorial, we learn:
    1. Kubernetes deployment in detail
    2. Understand kubernetes deployment yaml
    3. Understand kubernetes replicaset
    4. Detailed Demo
    💰👨‍🎓 Get my courses with max discount and 30 day moneyback guarantee: bit.ly/3Eku9RH
    🙏Please Subscribe: bit.ly/2Yk0Kbb
    *Connect with me*
    🤳 Instagram: / cloudwithraj
    🏢 LinkedIN: / cloudwithraj
    🐦Twitter: / cloudwithraj
    🖼 Facebook: / cloudwithraj
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 147

  • @cloudwithraj
    @cloudwithraj  3 ปีที่แล้ว +13

    My Kubernetes on EKS Course is out now in Udemy!! If interested, please check out discounted ($9.99) link - www.udemy.com/course/rocking-kubernetes-with-amazon-eks-fargate-and-devops/?couponCode=GETSKILLSNOTCORONA

    • @okey1317
      @okey1317 2 ปีที่แล้ว

      4:12 Where is the label for replica set specified ? I couldnt see that!
      (I see you have highlighted in green the lablel of the deployment, the label of the pods, and the selector used by the replica set to match its pods labels)
      But where does the replica set gets its label?!!!!!!!!!!!!!!!!!!

  • @7thwik
    @7thwik 3 ปีที่แล้ว +3

    Only video which superbly explains what those tags are and what they do. Visualization kind of made it even more simpler to understand.

  • @zubyranks80
    @zubyranks80 3 ปีที่แล้ว +1

    AoC, you are the guy!!! Thank you for the videos that encapsulates your words of wisdom. I can hardly spend a week without referencing some of your videos. Your videos are succinct, precise and spiced with a good sense of humor!
    Great job!

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Much appreciated zubyranks80! Comments like this motivates me to make more videos :)

  • @mathewkargarzadeh3158
    @mathewkargarzadeh3158 3 ปีที่แล้ว

    the Best again !!. and showing everyone that pod deployment yml is the key to any running container(s) inside the pod. and throughly one must tell what the pod deployment is going to do just by looking thru pod deployment iml. pod name says a lot about the pod which has 3 parts. "deployment name-replicase # ( which is he same # no matter how many replicas running) -pod # ( which distinguishes this pod from other pods in the deployment ). Thank you !!

  • @ashutoshupadhyay6007
    @ashutoshupadhyay6007 ปีที่แล้ว +3

    among all the TH-cam videos on yaml and kubernetes got this gem out of all. Properly explained each tags and what they are they doing + bonus with demo. Incredibly liked it. Superb. Please create more videos with same line to line explaining strategy.

  • @pramodkumarw
    @pramodkumarw หลายเดือนก่อน

    Hey Mr. Raj, you explain and present very well. We 100% understand your explanation. I thanks you a lot for very well explanation

  • @geethanshivglos9614
    @geethanshivglos9614 3 ปีที่แล้ว +3

    You saved my life I am in the preparation of certification you showed me the way how my brain wants awesome please keep posting will support you always

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว +1

      So glad this video helped clarify the concepts! Good luck on the cert exam, you got this!! Thanks for watching.

  • @samarthurs8000
    @samarthurs8000 3 ปีที่แล้ว +3

    Amazing explanation Mr Rajdeep. You are definitely one of the best teachers out in the market teaching Kubernetes. You deserve a lot more subscribers. I have smashed the like & subscribe button.

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว +2

      Thanks a lot samarth for the kind words and support!

  • @deepakbharti2800
    @deepakbharti2800 2 ปีที่แล้ว

    I had confusion around this concept from long time and getting more confused while surfing on internet. You explained it very simply. Great work. Thanks a lot for video.

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว +1

      Glad it was helpful! Thanks for watching

  • @htfilms1045
    @htfilms1045 2 ปีที่แล้ว +2

    Great helpful video!
    I have a question, is it possible to use those cases (deleting Pods, deleting RS and so on) in order to measure the realtime capability of kubernetes? I need to collect some cases and have to analyze the real time capability of K8s, so it can be used in a factory where PLCs control robots. And K8s should manage those PLCs, which are virtualized.
    In short: Those PLCs are realtime applications and need to be managed by K8s in docker containers in realtime. Is it useful to create a Test-Setup with these cases as in your video?
    Thanks for your reply in advance!

  • @kunime-ji5066
    @kunime-ji5066 3 ปีที่แล้ว

    You are the best teacher ever.

  • @machireddyshyamsunder987
    @machireddyshyamsunder987 3 ปีที่แล้ว

    Excellent Raj, I had filled my knowledge gaps with this Super cool Video . you are rocking ...!!! . Thank you so much Raj again again....

  • @hungngovinh7756
    @hungngovinh7756 4 ปีที่แล้ว +1

    Amazing k8s visualization! Much easier to understand. Please do more videos on kubernetes :) I learned a lot from this video

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Thanks! I have some more Kubernetes video in the works!

  • @msurajnair7149
    @msurajnair7149 2 ปีที่แล้ว

    Thank you so much for this video and brilliant explanation.

  • @hemsagarpatel8992
    @hemsagarpatel8992 3 ปีที่แล้ว

    finall got an awsome explanation for the YAML after somany searching !! actually need more understanding like what if i have 2 application image 2 db images with me , inthat case how the yaml will look like

  • @odiababyosakainjapan8255
    @odiababyosakainjapan8255 ปีที่แล้ว

    Thanks Raj for explaining clearly .

  • @ramthirumalai6870
    @ramthirumalai6870 3 ปีที่แล้ว +1

    Thank you very much. Very clear. How many nodes (servers) were running?

  • @mrnobody4365
    @mrnobody4365 หลายเดือนก่อน

    Understood!
    Thank you sir.

  • @sinajafarzadeh9577
    @sinajafarzadeh9577 2 ปีที่แล้ว

    I liked this video a lot! it explained all the details of YAML files without handwaving!

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      Glad it was helpful Sina!

  • @nibashchandramohanty
    @nibashchandramohanty 3 ปีที่แล้ว

    I had few doubt about YAML file , Now it is clear ..Many thanks ...If possible please upload that YAML file ,So We can use in practice ..

  • @lonesareer
    @lonesareer 2 ปีที่แล้ว

    I am very surprised how people have disliked it, You have explained it very well .

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว +1

      Thanks Sarir for the kind words 🙏

  • @Pray4ragE
    @Pray4ragE 2 ปีที่แล้ว

    Excellent content. Well presented and highly informative. Thanks my guy!

  • @jlpcpr
    @jlpcpr ปีที่แล้ว

    Awesome video. I like the way that you explain everything and show an example.

  • @emmanuelegbuniwe2023
    @emmanuelegbuniwe2023 2 ปีที่แล้ว

    From the bottom of my heart, God bless u for making such an amazing video!!!!!!!!!!!!!!!!!

  • @arundass9025
    @arundass9025 3 ปีที่แล้ว

    best deployment explanation, thank you!

  • @kewtomrao
    @kewtomrao 2 ปีที่แล้ว

    Amazing sir!! Thanks a lot!!

  • @athi4943
    @athi4943 3 ปีที่แล้ว

    Wow !!!
    Token of gratitude.

  • @gabbarpatil3222
    @gabbarpatil3222 2 ปีที่แล้ว

    Perfect! .. that's the knowledge I came for ...❤️

  • @Suresh-ni7bn
    @Suresh-ni7bn 3 ปีที่แล้ว

    this is really great, can't express in words.

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thanks Suresh, so glad you found this helpful!

  • @marwanghubein7879
    @marwanghubein7879 3 ปีที่แล้ว

    that is awesome, thanks. a lot

  • @user-dh2cf2vf2x
    @user-dh2cf2vf2x 4 หลายเดือนก่อน +1

    Thanks man

  • @aydarakylbek
    @aydarakylbek 3 ปีที่แล้ว +1

    Amazing video! Why the ReplicaSet is not deleted after Rolling Update?

  • @atulsinghbankoti750
    @atulsinghbankoti750 3 ปีที่แล้ว

    awesome video...really helpful

  • @moustafakamal9399
    @moustafakamal9399 3 ปีที่แล้ว

    so easy to understand the way you present it. thnx

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      You are most welcome Moustafa!

  • @srinivaspitani1326
    @srinivaspitani1326 2 ปีที่แล้ว

    Thanks for your efforts and clear explanation, take a bow

  • @darlingtonmatongo9436
    @darlingtonmatongo9436 3 ปีที่แล้ว

    best explanation, thank you very much. well explained.

  • @dirkl9652
    @dirkl9652 3 ปีที่แล้ว

    Bro, I can tell you enjoy teaching and your job. This was well done. You gained a subscriber 👍

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thanks Dirk for the kind words and the sub 🙏

  • @Sdirimohamedsalah
    @Sdirimohamedsalah 25 วันที่ผ่านมา

    Perfect 👍!

  • @mohammadtorabipour5843
    @mohammadtorabipour5843 2 ปีที่แล้ว

    thanks for the explanation

  • @sigma-yn3qd
    @sigma-yn3qd 2 ปีที่แล้ว +1

    Well explained

  • @aatmnirbharr
    @aatmnirbharr 2 ปีที่แล้ว

    Here I give you the 1000th like on the video for bringing to the world such awesome andeasy to comprehend concepts! Great work, Raj!

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว +1

      YAY!! Glad this video was helpful

    • @aatmnirbharr
      @aatmnirbharr ปีที่แล้ว

      @@cloudwithraj I wanted to revise some concepts and found my 9 month old comment! The video is still relevant and fun to watch and learn 👌👌

  • @sonimai123
    @sonimai123 2 ปีที่แล้ว

    awesome explanation about yaml file

  • @nirajpdn
    @nirajpdn 2 ปีที่แล้ว

    Amazing..!!

  • @vijayprasad4891
    @vijayprasad4891 2 ปีที่แล้ว

    great explanation skills..!

  • @shyamyadav-qk4zb
    @shyamyadav-qk4zb 2 ปีที่แล้ว

    Thanks sir it's to much clear concept .

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      You're most welcome Shyam

  • @vaidyaes
    @vaidyaes ปีที่แล้ว

    Can you put a video explaining difference between core node and task node in EMR and why it's required actually

  • @srithanp7237
    @srithanp7237 2 ปีที่แล้ว

    Dear Raj, all your learning videos are with Amazing content and right examples, just one suggestion, can you update order of videos, for example under Kubernetes and Container Tutorials playlist, can move what is kubernetes | kubelet proxy..video to top and deployment video as 2nd..etc, so it will be useful who ever new to learn kubenetes and they will go in order, thanks again for ur excellent learning Channel

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว +1

      Thanks Srithan, great feedback, I will do this

  • @realgrapedrop
    @realgrapedrop 3 ปีที่แล้ว

    Great explanation and demo.

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Glad it was helpful Tim!

  • @baarathsrinivasan2880
    @baarathsrinivasan2880 4 ปีที่แล้ว +1

    video was great .. explaining yaml and architecture side by side was quite helpful to understand ...
    But I have a doubt... In video you said if u create pod with same label as replica set pod ...
    it will consider it when creating replica set .. my question is what if i create pod after creating replica set ... how i will it react ...

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว +1

      If the replicaset already has desired number of pods, you won't be able to create pod afterwards. You can run podspec file but the new pods will never come up. If actual number of pods is less than desired number (as specified in replicaset), then you can define pods with same labels afterwards and the pods will come up. Hope this helps.

  • @shirish2005
    @shirish2005 2 ปีที่แล้ว

    you are awesome !!!

  • @ashseth7885
    @ashseth7885 2 ปีที่แล้ว

    Thanks really useful.

  • @kayoutube690
    @kayoutube690 3 ปีที่แล้ว

    awesome!!! But how to rollback back to the original replica set just in case the new version of app has an issue?

  • @michaelcooper5490
    @michaelcooper5490 3 ปีที่แล้ว

    Hello This was a very good Video, How is the network handled in this scenario?

  • @omarimai7428
    @omarimai7428 2 ปีที่แล้ว

    very informative tutorial, thanks Raj :)

  • @akdevsecops
    @akdevsecops ปีที่แล้ว

    Thankyou so much

  • @habibtawk3699
    @habibtawk3699 2 ปีที่แล้ว

    Amazing.... Thanks

  • @cvppramod
    @cvppramod 2 ปีที่แล้ว

    Thanks Raj for explaning Deployement process in details,it was very clear and crisp.Kudos to you .You are rock star.But I have a question,what happens if nginx1.6 pod is created with a different label? like TEST instead of test? will that be able to tracked ?

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      Labels are case sensitive, so it won't be able to track. It needs to match the lowercase

  • @kailashchand7596
    @kailashchand7596 4 ปีที่แล้ว +1

    Complexity explained in simplicity

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว +1

      Thanks Kailash, I try.

  • @vaddisivakumar
    @vaddisivakumar ปีที่แล้ว

    great explanation

  • @ajdingaribovic4418
    @ajdingaribovic4418 2 ปีที่แล้ว

    Very good video, thank you

  • @traveho2747
    @traveho2747 2 ปีที่แล้ว

    Hi,
    When removing pods and creating new one(s), how to guarantee that the on going tasks won't be interrupted/ lost?

  • @manideepkumar959
    @manideepkumar959 ปีที่แล้ว

    really rally good understandable video

  • @lovebooze5822
    @lovebooze5822 3 ปีที่แล้ว

    very well explained.

  • @MrTeendaba
    @MrTeendaba 2 ปีที่แล้ว

    very good explanation with visulizatoin

  • @itaco8066
    @itaco8066 2 ปีที่แล้ว

    Awesome

  • @anshkumargarhewal8582
    @anshkumargarhewal8582 9 หลายเดือนก่อน

    Congratulations for 100k Subscribers 🎉

    • @cloudwithraj
      @cloudwithraj  9 หลายเดือนก่อน +1

      Bro, not there yet, 1000 more to go. But TY for the support and well wishes

  • @cloudtrainingforethusiast
    @cloudtrainingforethusiast 2 ปีที่แล้ว

    Awesome and thanks for sharing

  • @amudhad9582
    @amudhad9582 2 ปีที่แล้ว

    Amazing video

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      Thanks Amudha, glad it was helpful!

  • @swapnilshingote8773
    @swapnilshingote8773 ปีที่แล้ว +1

    Hello Sir,
    Good Session big fan of yours I have purchased your Serverless and EKS courses on UDEMY,
    Actually I have a other question , can we add an additional CIDR to my EKS cluster, if yes how can I achieve this and will that have any effect in my current pods/services running.?.

  • @RahdixCloudNine
    @RahdixCloudNine 2 ปีที่แล้ว

    Goddammit uncle raj, its very clear and well explained! SUBSCRIBED!!!!!!

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      Ty Brother!! Let's GOOOO!!

  • @user-pc1pm1vb7p
    @user-pc1pm1vb7p 5 หลายเดือนก่อน

    Hi Raj greate explanation. can you please arrange this playlist ? Even after insall kubectl , this cmd is not working -> kubectl get all . any tutorial to setup k8's in local system ?

  • @dharmaputra7394
    @dharmaputra7394 3 ปีที่แล้ว +1

    Request ci/cd with docker and laravel

  • @tugatom
    @tugatom 3 ปีที่แล้ว

    really helpful :)

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Glad it helped! Thanks for watching

  • @marcw3126
    @marcw3126 11 หลายเดือนก่อน

    I like the sound of your keyboard :-)

    • @cloudwithraj
      @cloudwithraj  11 หลายเดือนก่อน

      Haha Thanks! 😃

  • @dileepverma3679
    @dileepverma3679 4 ปีที่แล้ว

    Thanks it is very good video

    • @dileepverma3679
      @dileepverma3679 4 ปีที่แล้ว +1

      Do you have any video for CNI

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      @@dileepverma3679 Not yet, I'll keep this in mind for future videos! Thanks for the kind words.

  • @manideepsaipolavarapu272
    @manideepsaipolavarapu272 4 ปีที่แล้ว

    good

  • @StunnerzGlobal-hz1tt
    @StunnerzGlobal-hz1tt 9 หลายเดือนก่อน

    Hi Raj, this is a very lovely video. Your videos are great and interactive. Do you mind sharing what tools you use to record and edit your videos please ?

    • @cloudwithraj
      @cloudwithraj  9 หลายเดือนก่อน +1

      I use OBS to record, and Adobe Premiere Pro to edit.

    • @StunnerzGlobal-hz1tt
      @StunnerzGlobal-hz1tt 9 หลายเดือนก่อน

      Great thanks a lot Raj@@cloudwithraj

  • @entirebentirec3296
    @entirebentirec3296 4 ปีที่แล้ว +1

    Which YAML editor you are using?

  • @SportySardar
    @SportySardar 2 ปีที่แล้ว

    Great video. I Hope its not redundant

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      Not at all Sardarji, ty for the kind comment

  • @mohammadshoaibckt
    @mohammadshoaibckt ปีที่แล้ว

    What will happen, if we don't use surge in yml

  • @576596
    @576596 4 หลายเดือนก่อน

    please post
    on uber system design

  • @gkv2306
    @gkv2306 2 ปีที่แล้ว

    if possible do the video for these
    • In which case mostly migration takes place from one cloud to another cloud few use-cases
    • Migration process from EKS to AKS clusters, what are pre-requests and steps to complete the migration process microservice deployment, Note Points in K8s Prospective and DevOps tools Point of view END to the END Deployment process.
    The client wants to migrate an existing application from AWS to AKS being a DevOps Consultant what kind of role will perform to accomplish the task.
    • How to migrate/move Monolithic to microservice architecture, what are the best practices.
    • Migration process from On-Premises to AZURE of an application
    • To set up the end to end deployment of an application using Kubernetes in on-premises
    Points to be considered from k8s point of view

  • @Afro_Updates
    @Afro_Updates 3 ปีที่แล้ว

    who are those idiots clicking on thumbs down .... Thanks for this wonderful video

  • @kernelv5118
    @kernelv5118 3 ปีที่แล้ว

    Time : 4:00 - 4:01 : If the labels match then this deployment is gonna manage this pod - Under first metadata levels.environment : test, has no connection with the deployment, even not matched deployment will go smoothly.
    Under spec Selector and Template metadata should match unless deployment wont proceed.

  • @dconwheels5309
    @dconwheels5309 ปีที่แล้ว

    If we delete the rs then roleback won't work right and I guess Kubernetes can keep last 10 revision in history. So if delete any rs can we still role back ?

  • @Change765
    @Change765 ปีที่แล้ว

    When I run a yaml it says the path does not exist. I’m a bit confused.

  • @umanaik8142233886
    @umanaik8142233886 2 ปีที่แล้ว

    Can deployment has multiple replica s ?
    I mean deployment must have more than one replica to ensure ...!

  • @user-fr9wv9cn6h
    @user-fr9wv9cn6h ปีที่แล้ว

    this video should be how replica-set work

  • @rakeshpatil1902
    @rakeshpatil1902 2 ปีที่แล้ว

    Is this known as Blue Green deployment or Canary deployment ?

    • @cloudwithraj
      @cloudwithraj  ปีที่แล้ว +1

      This is rolling deployment Rakesh

  • @lakshmic583
    @lakshmic583 ปีที่แล้ว

    Can you plz share commands for all Kubernetes?
    Thanks in Advance

  • @okey1317
    @okey1317 2 ปีที่แล้ว

    4:12 Where is the label for replica set specified ? I couldnt see that!
    (I see you have highlighted in green the lablel of the deployment, the label of the pods, and the selector used by the replica set to match its pods labels)
    But where does the replica set gets its label?!!!!!!!!!!!!!!!!!!

  • @techwithraja
    @techwithraja 2 ปีที่แล้ว

    Can I have your GIT Account details, to get the source code examples..

  • @saiharikrishnapalle9366
    @saiharikrishnapalle9366 2 ปีที่แล้ว

    I am sorry, I know this is irrelevant but except for your accent, everything else is good about this video

  • @dotcomawslagi3611
    @dotcomawslagi3611 3 ปีที่แล้ว

    We are awslagi team on Udemy. We are providing actual exam for GCP and AWS. We ensure you can pass the exam at the first attempt in the fastest and easiest way.

  • @odiababyosakainjapan8255
    @odiababyosakainjapan8255 ปีที่แล้ว

    Hello Raj . Thanks for this video for explaining very well and clearly . Can I get your mail id for asking few more details regarding my cloud research

  • @niladrisaha6024
    @niladrisaha6024 2 ปีที่แล้ว

    Your demo is easy to understand. But please don't use fake accent. It sounds irritating and sometimes difficult to comprehend.