Day-34 | KUBERNETES DEPLOYMENT | REPLICASETS |

Sdílet
Vložit
  • čas přidán 26. 02. 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
    CZcams: / @abhishekveeramalla .
    .
    Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.

Komentáře • 170

  • @raghavacharyvazrala
    @raghavacharyvazrala Před měsícem +3

    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.

  • @normalman7076
    @normalman7076 Před 8 měsíci +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

  • @Cloudnp9458
    @Cloudnp9458 Před 5 měsíci +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.

  • @bepositive108
    @bepositive108 Před rokem +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.

  • @thepresistence5935
    @thepresistence5935 Před rokem +16

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

  • @mohanmurali7975
    @mohanmurali7975 Před 14 dny

    wonderful teaching bro successfully understand difference pods, deployment, container and responsbilites of replica set👍

  • @farikdk
    @farikdk Před 7 měsíci +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

  • @ParthasarathiSukla
    @ParthasarathiSukla Před 3 měsíci

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

  • @itsmanztube.5809
    @itsmanztube.5809 Před rokem +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 ,

  • @swatikadam8572
    @swatikadam8572 Před 4 měsíci

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

  • @rutheirene7548
    @rutheirene7548 Před rokem +1

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

  • @shaffishaik3852
    @shaffishaik3852 Před rokem

    Perfect explanation 🔥🔥🔥

  • @vinaybv9710
    @vinaybv9710 Před 9 měsíci +1

    Abhishek you are just crazy
    Love your DevOps videos ❤❤

  • @sweetyreels9307
    @sweetyreels9307 Před 11 měsíci

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

  • @surya-xt6uo
    @surya-xt6uo Před měsícem +1

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

  • @RajuSingh001732
    @RajuSingh001732 Před rokem +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.😊

  • @jabirHussain-nu3pk
    @jabirHussain-nu3pk Před 2 měsíci

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

  • @user-tz5bx6qf5r
    @user-tz5bx6qf5r Před 4 měsíci

    Awesome!!!! Explanation

  • @parambharti7095
    @parambharti7095 Před 2 měsíci

    Awesome explanation. Thanks a lot

  • @nehamahajan3129
    @nehamahajan3129 Před rokem

    Just Awesome 👍

  • @swapnilsingh7170
    @swapnilsingh7170 Před 2 měsíci +1

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

  • @jayanandini5418
    @jayanandini5418 Před 5 měsíci +1

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

  • @sukhpreetsingh1848
    @sukhpreetsingh1848 Před rokem +1

    learnt alot from you sir... THANKYOU

  • @navpute_akshay
    @navpute_akshay Před 6 měsíci +1

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

  • @BushMaster007
    @BushMaster007 Před 10 měsíci +1

    Thank You Sir! This video was awesome 🔥

  • @adetunjiaramide6586
    @adetunjiaramide6586 Před 4 měsíci +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.

  • @happylearningtricks
    @happylearningtricks Před rokem +1

    extraordinary explanation - thank you @Abhishek

  • @fromhousesheoran
    @fromhousesheoran Před 6 měsíci +1

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

  • @sridharche9655
    @sridharche9655 Před rokem +1

    Great learning experience brother....

  • @AmvionTenders
    @AmvionTenders Před 9 dny

    thank you Abishek

  • @RanaGaming02
    @RanaGaming02 Před 2 měsíci +1

    Thank You Abhishek , I learned something new Today

  • @keerthanaacharya1891
    @keerthanaacharya1891 Před 5 měsíci +1

    Thanks a lot, Abhishek Sir wonderful explanation 🤩🤗

  • @sarreviews6518
    @sarreviews6518 Před rokem +1

    Crystal Clear :)

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i Před 14 dny

    Day 34 Successfully Done

  • @manjotkour9350
    @manjotkour9350 Před 25 dny +1

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

  • @testtt5983
    @testtt5983 Před rokem +1

    Well explained 👌👍

  • @ravindraravi7435
    @ravindraravi7435 Před 3 měsíci

    Thank you ^^

  • @adityag8087
    @adityag8087 Před 2 měsíci

    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.

  • @yogithakakarla1716
    @yogithakakarla1716 Před rokem +1

    Better way of explanation

  • @amritpoudel6929
    @amritpoudel6929 Před rokem

    Excellent

  • @lingrajbiradar4416
    @lingrajbiradar4416 Před rokem +2

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

  • @aneelmarri3926
    @aneelmarri3926 Před rokem +1

    Nice and useful

  • @techfeeds7589
    @techfeeds7589 Před rokem +1

    Good job

  • @reneshmlal2809
    @reneshmlal2809 Před 2 měsíci +1

    Thank You ❤

  • @jaykumaranbu7173
    @jaykumaranbu7173 Před rokem

    Nice one

  • @prashantjkamath
    @prashantjkamath Před 10 měsíci

    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?

  • @SuperNaveen22
    @SuperNaveen22 Před 8 měsíci

    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

  • @faisaliqbal7382
    @faisaliqbal7382 Před rokem

    ❤Thanks

  • @tanmoysantra1112
    @tanmoysantra1112 Před rokem +1

  • @MrSambhram
    @MrSambhram Před 8 měsíci

    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?

  • @user-on9rc4qx5n
    @user-on9rc4qx5n Před 5 měsíci

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

  • @adarshjha__1
    @adarshjha__1 Před 8 měsíci

    Day-34 done ✅️

  • @neelcontractor1212
    @neelcontractor1212 Před 8 měsíci

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

  • @koyyavenkatesh
    @koyyavenkatesh Před 4 měsíci

    How to add new node to an existing k8s cluster?

  • @kusumareddy4967
    @kusumareddy4967 Před 2 měsíci

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

  • @joymiah1038
    @joymiah1038 Před rokem +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  Před rokem +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 Před rokem

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

  • @hemshah1567
    @hemshah1567 Před 5 měsíci +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 ?

  • @aabhassakalley5956
    @aabhassakalley5956 Před měsícem

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

  • @phanik8358
    @phanik8358 Před 2 měsíci

    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 Před rokem +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  Před rokem

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

  • @saurabhpadole6102
    @saurabhpadole6102 Před rokem +1

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

  • @sangativamsikrishna1691
    @sangativamsikrishna1691 Před rokem +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

  • @AbiramiBalu-nc7re
    @AbiramiBalu-nc7re Před měsícem

    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.

  • @mahaboobali2260
    @mahaboobali2260 Před 6 měsíci +1

    abhishek can you make a cheatsheet interview questions on kubernetes?

  • @MandeepSingh-rs6wb
    @MandeepSingh-rs6wb Před 5 měsíci

    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 Před 2 měsíci

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

  • @SunitaSonawane2007
    @SunitaSonawane2007 Před rokem +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  Před rokem

      Old are deleted

    • @SunitaSonawane2007
      @SunitaSonawane2007 Před rokem +1

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

  • @joymiah1038
    @joymiah1038 Před rokem +3

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před rokem +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 Před rokem

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

  • @bethasaikiran2288
    @bethasaikiran2288 Před 7 měsíci

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před 7 měsíci

      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.

  • @saikumarthatikonda2007
    @saikumarthatikonda2007 Před rokem +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před rokem

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

  • @rambabudonthiboyina8476
    @rambabudonthiboyina8476 Před 9 měsíci

    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 Před 2 měsíci

      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.

  • @saikiran-tt1ww
    @saikiran-tt1ww Před rokem +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  Před rokem

      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

  • @sajid4087
    @sajid4087 Před rokem +1

    Are you covering helm also in this devops 45 days training

  • @RajuSingh001732
    @RajuSingh001732 Před rokem +1

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

  • @kunalsapkal2341
    @kunalsapkal2341 Před 2 měsíci

    What is namespace ?

  • @jatinsharma3792
    @jatinsharma3792 Před 7 měsíci +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  Před 7 měsíci

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

  • @tableau842
    @tableau842 Před rokem +1

    please do some real time deployments

  • @akhileshchouhan7811
    @akhileshchouhan7811 Před 9 měsíci

    what if someone delete the deployment ??

  • @nitinarora39
    @nitinarora39 Před rokem +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.

  • @shashankjuloori3352
    @shashankjuloori3352 Před rokem +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před rokem

      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.

  • @cherithaakula8036
    @cherithaakula8036 Před 5 měsíci +1

    anna niku shethakoti vandanalu anna intha chakaga maku class explain chesinandhuku

  • @muhammadhassan48
    @muhammadhassan48 Před rokem +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 Před rokem +1

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

  • @prakashbohara9909
    @prakashbohara9909 Před 10 měsíci +1

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

  • @harikrishna-yz3in
    @harikrishna-yz3in Před rokem +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  Před rokem

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

  • @shaffishaik3852
    @shaffishaik3852 Před rokem +1

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

    • @DAILY_JOB_UPDATES200
      @DAILY_JOB_UPDATES200 Před 8 měsíci

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

  • @nandithearcadewarrior2932

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

  • @manjithshaik6221
    @manjithshaik6221 Před rokem

    What is labels and selectors in deployment ??

  • @beulahsolomon6302
    @beulahsolomon6302 Před rokem

    Hi Abhishek, what happens if someone deletes a replicaset?

  • @prakritimandal1722
    @prakritimandal1722 Před rokem +1

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

  • @RajuSingh001732
    @RajuSingh001732 Před rokem +1

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

  • @sandeepvemu794
    @sandeepvemu794 Před rokem +1

    Abhishek,How can I connect you?

  • @harikrishnaobbu5731
    @harikrishnaobbu5731 Před rokem +2

    Bro kindly explain the name space

  • @sumansamanta330
    @sumansamanta330 Před 4 měsíci

    19th Feb, 2024