Day-34 | KUBERNETES DEPLOYMENT | REPLICASETS |

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.พ. 2023
  • Support my work
    www.buymeacoffee.com/abhishekprd FREE DEVOPS COURSE
    • DEVOPS ZERO TO HERO CO...
    KUBERNETES IS EASY
    ===================
    Don't feel so ??? Watch the next 10 videos on the channel and you will second me .
    DAY-33: KUBERNETES PODS
    ---------------------------------------------------------
    What will you learn ?
    1. Deployment vs ReplicaSet vs Pod
    2. Auto Healing
    3. Demo
    Minikube Installation complete video
    =============================
    • Install Kubernetes on ...
    Telegram channel
    ===============
    telegram.me/abhishekveeramalla
    About me:
    -----------------
    LinkedIn: / abhishek-veeramalla-77...
    GitHub: github.com/iam-veeramalla
    Medium: / abhishekveeramalla-av
    TH-cam: / @abhishekveeramalla

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

  • @raghavacharyvazrala
    @raghavacharyvazrala 14 วันที่ผ่านมา +2

    Sir Iam happy to say that your way of teaching is amazing and better than off line teaching where i learned in vijayawada.Iam 61 years retired Govt.Senior Engineer and learning Devops and AWS cloud to start second innings not for money .Only to engage my self busy with some employment. Thanks once again for your efforts and support to lakhs of SWEs who are in Villages and not able to shift to city for coaching.

    • @venugopal1831
      @venugopal1831 22 ชั่วโมงที่ผ่านมา

      🫡 learning on your age supebb

  • @surya-xt6uo
    @surya-xt6uo 9 วันที่ผ่านมา +1

    The way you explained this concept is even understandable to child. Great job bro🔥

  • @normalman7076
    @normalman7076 7 หลายเดือนก่อน +12

    Don't have words. There are lots of peoples out there won't teach anything to anyone. Meanwhile like you sir absolutely gods gifted kid who is helping lakhs of peoples and soon in Crs. Got 2 offers finally. From Cloud engineer to DevOps Finally. Thanks again sir

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  7 หลายเดือนก่อน +2

      Amazing .. Hearty congratulations 🎉

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

      @@AbhishekVeeramalla thanks bro

  • @Cloudnp9458
    @Cloudnp9458 4 หลายเดือนก่อน +3

    Pod has running specification and can have multiple container. Side car container for service mesh. Service mesh is established by sidecar proxy.
    Deployment is capable of providing capabilities like autohealing and autoscaling.
    Deployment will create an intermediate resource called replicaset and then replicaset will create/rollout pod replicas..
    So end of the day we are creating pods.
    Since replicaset is Kubernetes controller , it will implement autohealing and ensure that there are always two replicas of pods running.
    A Controller ensure desired state matches the current state in Kubernetes.

  • @thepresistence5935
    @thepresistence5935 ปีที่แล้ว +15

    This is for people who don't understand "Replica Set":
    -> In k8s, there is a concept called controllers (we saw this in architecture video). The main work of controller is to watching the POD is running in desired state or not.
    -> If not it sends the message to scheduler to create a new resource to achieve the desired state.
    -> One of the controller is called "Deployment".
    -> "Deployment" first creates "replica set(actual controller)" managed by "deployment" and replica set creates and manages the POD.
    -> Still confusing see the bellow picture:
    +-----------------------------+
    | Deployment |
    | (desired state: 3) |
    +-----------------------------+
    |
    | creates or updates
    |
    +----------------------------+
    | ReplicaSet |
    | (desired state: 3) |
    +----------------------------+
    |
    | creates or updates
    |
    +----------------------+
    | Pod | (POD -> execution environment for the containers)
    +----------------------+
    |
    | runs the containers
    |
    +----------------------+
    | Container |
    +----------------------+

  • @manjotkour9350
    @manjotkour9350 3 วันที่ผ่านมา +1

    Sir, I must say k8s have replica concept but your replica not possible 👏👏👏👏

  • @bepositive108
    @bepositive108 11 หลายเดือนก่อน +5

    Your teaching skills has no match .. Thank U for providing it for free. Grateful. 🎉 What you are providing is saving time and brain damage in understanding other videos related k8s. Thank you for all those efforts.

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

    I have no words to express my gratitude . Truly a legend.

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

    Amazing explanation to all the concepts👏👏.. Thank you so much 🙂

  • @swapnilsingh7170
    @swapnilsingh7170 2 หลายเดือนก่อน +1

    thanks I didn't knew kubernetes flow in this way like deployment-> replica set-> pods

  • @itsmanztube.5809
    @itsmanztube.5809 ปีที่แล้ว +4

    thanks bro, as expected u always come with something unique content with casual content than many youtube videos , eventually i learnt something new ,i always stay tuned to your channel ,

  • @jabirHussain-nu3pk
    @jabirHussain-nu3pk หลายเดือนก่อน

    Its Really amazing man, your explanations are clearly understandable and will make concept in depth

  • @farikdk
    @farikdk 7 หลายเดือนก่อน +4

    I found your channel two days ago and WOW, it is amazing. very well and precise described, thanks a lot for making these series to help others learn complex topics in a simple way

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

    Thanks so much Abhishek, this is so amazing. You really simplified Kubernetes. Great Job!

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

    End of a good day with a very nice and informative video after watching your videos I can say Kubernetes is really easy to learn.😊

  • @adetunjiaramide6586
    @adetunjiaramide6586 3 หลายเดือนก่อน +1

    Wow, i have learned about kubernetes from 4 different sources, i was still confused, but watching your kubernetes explanation is on point, i now fully understand the basics extremely well, and reason why we need kubernetes.

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

    god for devops , learning in easyway is possible with your videos only far i seen.

  • @vinaybv9710
    @vinaybv9710 8 หลายเดือนก่อน +1

    Abhishek you are just crazy
    Love your DevOps videos ❤❤

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

    Perfect explanation 🔥🔥🔥

  • @fromhousesheoran
    @fromhousesheoran 5 หลายเดือนก่อน +1

    I was so lost into the video, it is your amazing teaching sir.

  • @jayanandini5418
    @jayanandini5418 5 หลายเดือนก่อน +1

    Wowwww...... K8s is beautiful.. Thank you so much abhishek bro for teaching us ❤

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

    Awesome!!!! Explanation

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

    Just Awesome 👍

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

    Awesome explanation. Thanks a lot

  • @navpute_akshay
    @navpute_akshay 6 หลายเดือนก่อน +1

    Thanks abhi very simple way, we can understand the concept
    # bappa bless you bhai

  • @BushMaster007
    @BushMaster007 10 หลายเดือนก่อน +1

    Thank You Sir! This video was awesome 🔥

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

    extraordinary explanation - thank you @Abhishek

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

    learnt alot from you sir... THANKYOU

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

    Thanks a lot, Abhishek Sir wonderful explanation 🤩🤗

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

    Hi anna. Thanks a lot for your videos. I am able to understand all the concepts with ease. I request you to make a video on HPA and VPA to help understand auto scaling better.

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

    Thank You Abhishek , I learned something new Today

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

    Always start your videos with like.. crystal clear explanation ❤️
    can you please show us how to do auto scalling here

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

    very help full video thanks @abhishek i have a question
    is it mendatory to create pod for any application or deployment is enough?

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

    Hello Abhishek.. Thanks for the series and good explanation with deployment example. I was just wondering if replica set image can be deleted or killed. I tried in the lab but it said no such resources. If it can be killed then ts there a new replica-set created or we need to re-run the deployment.yml?? Have you encountered such situation?

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

    Great learning experience brother....

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

    Abhishek your awesome, I have a small query, I have developed magento app using Ubuntu has base image, in order to copy the files I have written a script in entry point, so every time new pod spins up it starts the same steps, is there any way where application files will be automatically copied, like official MySQL images which copies everything to pvc automatically

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

    Crystal Clear :)

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

    Hi..Is there a way to build the image in Kubernetes and use it in the creation of POD, instead of pulling the image from the registry? also, how do we specify our own image registry inside the pod.yaml or deployment.yaml file?

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

    Thank you ^^

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

    Thank You ❤

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

    Better way of explanation

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

    Hi Abhishek, if deployment itself gets deleted, including pods everything will be deleted. Is there any replica set kind of mechanism for the deployment?

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

    Well explained 👌👍

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

    Excellent

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

    Nice and useful

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

    hey abhishek i am having an error i did minikube start it created node with no role. what to do ?

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

    Hi Abhishek, I am following all the steps mentioned in your video but I am getting this error when executing this command - kubectl apply -f pod.yaml
    Error - The connection to the server localhost:8080 was refused - did you specify right host or port ?
    Can anyone please help me ?

  • @MandeepSingh-rs6wb
    @MandeepSingh-rs6wb 4 หลายเดือนก่อน

    Hi @abhishek, at timestemp 24:44 - after the deletion of old POD when recplica controller creates the new POD will the IP Address and Port be the same? asking because if the user is accessing a website on POD1 then how will it be redirected to POD2 ? Thanks in advance.

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

      users will be accessing the app through loadbalancers, not directly through pods

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

    Hi brother... Your videos are more n more helpful to everyone... I have a small doubt... In case, in an interview, if they ask us to write a pod or deployment creation yaml file, how can I write??? Because In the interview they don't allow Google or something.. like how can we remember all these syntaxes???

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

    Abhishek sir just one question, as you are saying difference is that you write command in CLI in docker and in pod we write the commands in yaml file so the same is for docker in a docker-compose file ?

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

      Docker compose is used to create multiple containers .. it's different from pod

  • @AbiramiBalu-nc7re
    @AbiramiBalu-nc7re 28 วันที่ผ่านมา

    error parsing deployment.yaml: error converting YAML to JSON: yaml: line 5: mapping values are not allowed in this context
    this error im getting.
    pls help resolving it.

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

    Agar hum application ke saath saatg database ko bhi deploy kare or replicaset banaye..let's 5 replica of one db.. O sare db hum actual mein product pe kaise manage karhe kubernetes ke THROUGH? O hum kaise kare..
    Please Bhai Batado..Eh mein Sabse barha wala confusion hain!!
    One thing I tell You.I crack Junior DevOps Engineer interview Just watching your Videos and practising those Things.
    Buttom from My Heart You gave A Life.
    Now I can see Clearly All Things Of My future.
    You are really Inspiring...Keep Going..
    Aishe savka vala karo allah aapka bala karega..doua hain hum sab logoka..
    Love You Bhai From Bangladesh ❤️❤️❤️

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

      DB ka ek completely dedicated video banaonga bhai .. Thanks for the love .. Can I please request you to share the channel in your groups.

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

      @@AbhishekVeeramalla
      I will be waiting..
      Definitely Bhai I will share in My all groups❣️❣️Aapke ki liye sara sar hajir rohonga..

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

    Good job

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

    How to add new node to an existing k8s cluster?

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

    Hi bro
    When you’re going to start docker and k8s. Pls let me know. We need to learn from scratch soo

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

    ❤Thanks

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

    great explanation abhishek!!! how can we do the same for auto scaling, please enlighten us.

  • @aabhassakalley5956
    @aabhassakalley5956 13 วันที่ผ่านมา

    Is there any repo for the kubernetes Zero to hero series ??

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

    Day-34 done ✅️

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

    Hey Abhishek, what is difference between apps/v1 and apps in apiVersion(for pod and deployment) in yaml file?

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

      They are just API conventions.. every resource can create their unique APIGroup and API Version.

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

    Abhishek bhai Docker-compose are also capable to run multiple container.. Is pod or docker compose are equivalent?

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

      Hi Joy, they are two different things.
      Pod is terminology in Kubernetes and you most of the times .. like I told you pod run a single container or at times multiple dependent containers.
      Whereas docker compose is related to docker and you can run even independent multiple containers .. there is no condition for docker compose.
      Note: docker compose cannot be used with k8s

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

      @@AbhishekVeeramalla that's Right.🥰🥰❤️

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

    Great explanation.
    One question like if we change image file. And apply the kubectl deployment with new image. Will old pods be deleted or both will run at same time?

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

      Old are deleted

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

      @@AbhishekVeeramalla I tried it. I have to first run delete deployment command and then apply deployment with new image.
      Is it right way?

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

    Nice one

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

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

    Hai Abhishek thank you so much for your content and help.
    Abhishek can you make a video on how to Perform code quality using SonarQube and how Integration testing is done in the Devops process.
    This is my personal request to learn those important topics Abhishek.
    Please as per your free time on this course try to cover this topics also Abhishek.
    Thank you

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

    hi sir, can you please tell us what is meaning of -it in docker run command, as per my knowlege 'i; stands for interactive and 't' stands for terminal, please correct me if i am wrong.

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

    Replica set, Replication controller and Deployment are we can say it is POD controller.

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

    Hello Abhishek
    Your videos are awesome very intresting.
    Here I've a doubt that what is the difference between healing and scaling ?

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

      Please watch from the first episodds of kubernetes. You will miss this kind of basics if not.
      I have explained this in the first episode of kubernetes itself.

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

    Hello sir
    which is the best approach for creating pod or any other objects
    imprative or declerative plz ans .......

  • @saikiran-tt1ww
    @saikiran-tt1ww ปีที่แล้ว +2

    Hi abhishek, if someone deletes the pod, deployment will auto-heal it, but what if the case if someone deletes the deployment?

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

      The problem is pod gets deleted due to many reasons not just someone deletes it .. so replicaset takes care of re creating it.
      But to your question .. You should adopt GitOps to recreation or autohealing

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

    Hi Abhishek..one doubt.. today i have attended one online workshop for Docker-compose. Is this same in Kubernetes deployment.yaml. are both are different..?

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

      The similarity there is that you can pass in all the arguments in the yaml file rather than on the command line. Docker -compose helps in building re-usable scripts for running containers.

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

    Can we create a replicaset directly instead of deployment?
    If Yes, then why we create a deployment instead of RS?

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

      it depends on your usage. If you don't want a controller to watch for your pod changes and rectify them you can ignore deployment.

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

    i got this error :
    Error from server (BadRequest): error when creating "pod1.yml": Pod in version "v1" cannot be handled as a Pod: strict decoding error: unknown field "metadata.spec"

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

    Hi Abhishek. Can you please tell the reasons why pods will get deleted other than network issue.

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

    in pod communication how ip address define it's by default or we can set that in real world?

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

      Pls watch the next video on kubernetes services in the playlist

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

      @@AbhishekVeeramalla ok sure !!

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

    Are you covering helm also in this devops 45 days training

  • @jatinsharma3792
    @jatinsharma3792 7 หลายเดือนก่อน +1

    Yes but why we are using the label, selectors and template ??? If copy and paste then what is the point of explaining this thing?? Why there is a selector in the Object spec?

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

      Watch the next videos in the series. Labels and selectors is explained very clearly during services video

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

    Without using helm or Agrocd or any other tool, can I directly use K8s to deploy my application into production?

  • @harikrishna-yz3in
    @harikrishna-yz3in ปีที่แล้ว +1

    One small doubt, You cleared about auto healing but doesn't show how auto scalling happens, instead of that you increased pods by manually. Plz tell me anna

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

      Thanks for the feedback
      There is also something called as horizontal pod scaler

  • @mahaboobali2260
    @mahaboobali2260 5 หลายเดือนก่อน +1

    abhishek can you make a cheatsheet interview questions on kubernetes?

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

    what if someone delete the deployment ??

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

    What is namespace ?

  • @shaffishaik3852
    @shaffishaik3852 11 หลายเดือนก่อน +1

    Abhi anna one small doubt
    Cant we delete pod permanently..??

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

      kubectl delete deployment before applying this command set replicas=0 then excutes this command automatically deletes the pods

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

    hello brother, can you create a post in linkedin how much computer networking required for devops

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

    what if i delete the Replica set, or Deployment will my PODS got deleted..??

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

      Yes

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

      Only if you delete Replica Set then PODS get deleted. Not for Replica Set. Correct me if I am wrong.

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

    Hi Abhishek, what happens if someone deletes a replicaset?

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

      a new replicaset will be created by the deployment

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

    What is labels and selectors in deployment ??

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

    please do some real time deployments

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

    Abhishek,How can I connect you?

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

    Bro kindly explain the name space

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

    anna niku shethakoti vandanalu anna intha chakaga maku class explain chesinandhuku

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

    19th Feb, 2024