Day-34 | KUBERNETES DEPLOYMENT | REPLICASETS |

Поделиться
HTML-код
  • Опубликовано: 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
    RUclips: / @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.

Комментарии • 171

  • @MrAd540
    @MrAd540 21 час назад

    You are god in DevOps ❤❤❤❤...Love the way to teach explain...God bless you Abhishek 🙏 ❤️ ♥️ 💖 ✨️

  • @raghavacharyvazrala
    @raghavacharyvazrala Месяц назад +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.

    • @venugopal1831
      @venugopal1831 29 дней назад

      🫡 learning on your age supebb

  • @normalman7076
    @normalman7076 8 месяцев назад +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 5 месяцев назад +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.

  • @shaffishaik3852
    @shaffishaik3852 Год назад

    Perfect explanation 🔥🔥🔥

  • @bepositive108
    @bepositive108 Год назад +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.

  • @swatikadam8572
    @swatikadam8572 4 месяца назад

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

  • @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 ,

  • @ParthasarathiSukla
    @ParthasarathiSukla 4 месяца назад

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

  • @parambharti7095
    @parambharti7095 2 месяца назад

    Awesome explanation. Thanks a lot

  • @user-tz5bx6qf5r
    @user-tz5bx6qf5r 5 месяцев назад

    Awesome!!!! Explanation

  • @nehamahajan3129
    @nehamahajan3129 Год назад

    Just Awesome 👍

  • @jabirHussain-nu3pk
    @jabirHussain-nu3pk 2 месяца назад

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

  • @sweetyreels9307
    @sweetyreels9307 11 месяцев назад

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

  • @mohanmurali7975
    @mohanmurali7975 20 дней назад

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

  • @surya-xt6uo
    @surya-xt6uo Месяц назад +1

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

  • @rutheirene7548
    @rutheirene7548 Год назад +1

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

  • @vinaybv9710
    @vinaybv9710 9 месяцев назад +1

    Abhishek you are just crazy
    Love your DevOps videos ❤❤

  • @farikdk
    @farikdk 8 месяцев назад +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

  • @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.😊

  • @AmvionTenders
    @AmvionTenders 15 дней назад

    thank you Abishek

  • @swapnilsingh7170
    @swapnilsingh7170 3 месяца назад +1

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

  • @BushMaster007
    @BushMaster007 11 месяцев назад +1

    Thank You Sir! This video was awesome 🔥

  • @fromhousesheoran
    @fromhousesheoran 6 месяцев назад +1

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

  • @jayanandini5418
    @jayanandini5418 6 месяцев назад +1

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

  • @navpute_akshay
    @navpute_akshay 7 месяцев назад +1

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

  • @sukhpreetsingh1848
    @sukhpreetsingh1848 Год назад +1

    learnt alot from you sir... THANKYOU

  • @sridharche9655
    @sridharche9655 Год назад +1

    Great learning experience brother....

  • @happylearningtricks
    @happylearningtricks Год назад +1

    extraordinary explanation - thank you @Abhishek

  • @adetunjiaramide6586
    @adetunjiaramide6586 4 месяца назад +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.

  • @keerthanaacharya1891
    @keerthanaacharya1891 5 месяцев назад +1

    Thanks a lot, Abhishek Sir wonderful explanation 🤩🤗

  • @RanaGaming02
    @RanaGaming02 2 месяца назад +1

    Thank You Abhishek , I learned something new Today

  • @thepresistence5935
    @thepresistence5935 Год назад +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 |
    +----------------------+

  • @sarreviews6518
    @sarreviews6518 Год назад +1

    Crystal Clear :)

  • @yogithakakarla1716
    @yogithakakarla1716 Год назад +1

    Better way of explanation

  • @曼乔特库尔mk007
    @曼乔特库尔mk007 Месяц назад +1

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

  • @testtt5983
    @testtt5983 Год назад +1

    Well explained 👌👍

  • @ravindraravi7435
    @ravindraravi7435 3 месяца назад

    Thank you ^^

  • @amritpoudel6929
    @amritpoudel6929 Год назад

    Excellent

  • @adityag8087
    @adityag8087 3 месяца назад

    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.

  • @reneshmlal2809
    @reneshmlal2809 2 месяца назад +1

    Thank You ❤

  • @lingrajbiradar4416
    @lingrajbiradar4416 Год назад +2

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

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i 20 дней назад

    Day 34 Successfully Done

  • @techfeeds7589
    @techfeeds7589 Год назад +1

    Good job

  • @aneelmarri3926
    @aneelmarri3926 Год назад +1

    Nice and useful

  • @jaykumaranbu7173
    @jaykumaranbu7173 Год назад

    Nice one

  • @faisaliqbal7382
    @faisaliqbal7382 Год назад

    ❤Thanks

  • @adarshjha__1
    @adarshjha__1 9 месяцев назад

    Day-34 done ✅️

  • @tanmoysantra1112
    @tanmoysantra1112 Год назад +1

  • @prashantjkamath
    @prashantjkamath 10 месяцев назад

    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?

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

  • @saurabhpadole6102
    @saurabhpadole6102 Год назад +1

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

  • @SuperNaveen22
    @SuperNaveen22 8 месяцев назад

    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

  • @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

  • @mahaboobali2260
    @mahaboobali2260 6 месяцев назад +1

    abhishek can you make a cheatsheet interview questions on kubernetes?

  • @user-on9rc4qx5n
    @user-on9rc4qx5n 6 месяцев назад

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

  • @MrSambhram
    @MrSambhram 8 месяцев назад

    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?

  • @koyyavenkatesh
    @koyyavenkatesh 5 месяцев назад

    How to add new node to an existing k8s cluster?

  • @kusumareddy4967
    @kusumareddy4967 2 месяца назад

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

  • @phanik8358
    @phanik8358 2 месяца назад

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

  • @tableau842
    @tableau842 Год назад +1

    please do some real time deployments

  • @RajuSingh001732
    @RajuSingh001732 Год назад +1

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

  • @bethasaikiran2288
    @bethasaikiran2288 8 месяцев назад

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  8 месяцев назад

      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.

  • @hemshah1567
    @hemshah1567 5 месяцев назад +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 ?

  • @neelcontractor1212
    @neelcontractor1212 8 месяцев назад

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

  • @aabhassakalley5956
    @aabhassakalley5956 Месяц назад

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

  • @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 Месяц назад

    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.

  • @MandeepSingh-rs6wb
    @MandeepSingh-rs6wb 5 месяцев назад

    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 3 месяца назад

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

  • @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?

  • @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"

  • @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

  • @kunalsapkal2341
    @kunalsapkal2341 2 месяца назад

    What is namespace ?

  • @cherithaakula8036
    @cherithaakula8036 5 месяцев назад +1

    anna niku shethakoti vandanalu anna intha chakaga maku class explain chesinandhuku

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

  • @akhileshchouhan7811
    @akhileshchouhan7811 9 месяцев назад

    what if someone delete the deployment ??

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

  • @sajid4087
    @sajid4087 Год назад +1

    Are you covering helm also in this devops 45 days training

  • @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.🥰🥰❤️

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

  • @jatinsharma3792
    @jatinsharma3792 8 месяцев назад +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  8 месяцев назад

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

  • @diehardfans6277
    @diehardfans6277 Год назад +1

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

  • @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

  • @rambabudonthiboyina8476
    @rambabudonthiboyina8476 9 месяцев назад

    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 2 месяца назад

      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.

  • @manjithshaik6221
    @manjithshaik6221 Год назад

    What is labels and selectors in deployment ??

  • @prakashbohara9909
    @prakashbohara9909 10 месяцев назад +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  10 месяцев назад

      Pls watch the next video on kubernetes services in the playlist

    • @prakashbohara9909
      @prakashbohara9909 10 месяцев назад

      @@AbhishekVeeramalla ok sure !!

  • @shaffishaik3852
    @shaffishaik3852 Год назад +1

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

    • @DAILY_JOB_UPDATES200
      @DAILY_JOB_UPDATES200 9 месяцев назад

      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

  • @beulahsolomon6302
    @beulahsolomon6302 Год назад

    Hi Abhishek, what happens if someone deletes a replicaset?

  • @harikrishnaobbu5731
    @harikrishnaobbu5731 Год назад +2

    Bro kindly explain the name space

  • @nandithearcadewarrior2932
    @nandithearcadewarrior2932 Год назад

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

  • @sandeepvemu794
    @sandeepvemu794 Год назад +1

    Abhishek,How can I connect you?

  • @RajuSingh001732
    @RajuSingh001732 Год назад +1

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

  • @sumansamanta330
    @sumansamanta330 4 месяца назад

    19th Feb, 2024