Karpenter vs Kubernetes Cluster Autoscaler

Поділитися
Вставка
  • Опубліковано 29 лис 2021
  • How is Karpenter different from the cluster autoscaler?
    We'll show some of the differences here and you can read more at karpenter.sh
    #kubernetes #aws #karpenter
  • Наука та технологія

КОМЕНТАРІ • 81

  • @user-iq6um7dc5w
    @user-iq6um7dc5w 9 місяців тому +5

    loved the way you explained the arguably very confusing topic, a very unique and fun approach for explaining difficult concepts.

  • @andrewmosiane3709
    @andrewmosiane3709 2 роки тому +27

    "Crash Back Loop" hahaha. Thank you so much Justin.

  • @ankkitraj2625
    @ankkitraj2625 2 місяці тому +1

    wow never saw anyone explaining complicated stuff with this aproach great video..

  • @mightGalaxyBlackhole
    @mightGalaxyBlackhole 5 місяців тому +1

    Wow! I appreciate the time you took to make this very practical. Those balls of various sizes and the bows made a better impact to my understanding of the involved dynamics. Great video

  • @cloud-vietnam
    @cloud-vietnam Рік тому

    Thank you for making technical explanations fun and easy to digest

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

    This video is fire. Thanks Justin for taking the time to dumb down / explain for the layman. Nice job

  • @PrakashReddyK
    @PrakashReddyK 8 місяців тому +1

    Thank you for all your efforts , this is the best explanation , how exactly I can understand visually, keep it coming with more concepts please

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

    A well thought out video.
    thank you for your fantastic attempt to explain this concept

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

    Amazing Garrison , great explanation and easy to understand everyone

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

    Excellent explanation, thanks for your efforts in thinking different way to explain this concept!

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

    Thanks Justin for making it so easy to understand. Cheers 😊

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

    The best explanation I could have heard!!!
    AMAZING!

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

    Amazing video! You made everything so crystal clear and fun!

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

    Thanks for explaining with such an easy demonstration

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

    Great explanation! love the demo!

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

    Great explanation! crystal clear and fun

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

    Awesome explanation! Nice to see your 100 pods node :P . Thanks Justin.

  • @drumming-yossi
    @drumming-yossi 2 роки тому

    Genius. Best ever sw demo I have ever seen.

  • @thetechcentre
    @thetechcentre Рік тому +1

    the point is very clear, thanks for the video.

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

    awesome man u taught over the streets like a frnd taught us

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

    Subscribed for the effort you put in 👍

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

    This is a fun and amazing explanation. I could not stop laugh when a ball fell out and he said 'crashbackloop' 😁

  • @colochoghost86
    @colochoghost86 3 місяці тому +1

    thanks, very creative the way how you explain the things.

  • @user-dk8is7iw1q
    @user-dk8is7iw1q Рік тому

    Perfect high level explanation!

  • @eswarduraisamy1307
    @eswarduraisamy1307 10 місяців тому

    Awesome and nicely explained🎉

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

    Amazing explanation! 👏👏👏

  • @zhangpeng5938
    @zhangpeng5938 6 місяців тому

    Good. I learned the difference between a karpenter and CA.

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

    Woooooo "Crash Loop Back" killed me. That was fantastic.

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

    Best in the best Explanation ❤😊

  • @miguelsarmiento9268
    @miguelsarmiento9268 9 місяців тому

    video is amazing very easy of understand.

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

    Amazing explanation man

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

    Very cool and funny explanation!

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

    excellent explanation!

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

    Very very well explained.

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

    amazing explanation

  • @anishkumar-pz6bl
    @anishkumar-pz6bl 2 роки тому

    Such a awesome job.

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

    wow.. nice demo :-).. great..

  • @sureshadapa7194
    @sureshadapa7194 9 місяців тому

    Super explained

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

    such a clever way to explain a complex concept! Thanks Justin. I got the point that Karpenter doesn't rely on pre-configured instance type. I am curious how Karpenter will determine the instance type. Will it just choose few big instances instead of many small instances for the unscheduled pod ?

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

      From what I understood and tried, it goes by batches. So if you come with a lot of pods to schedule at once it will fit them all in a big instance, if you come with a few pods at once it will take a smaller instance.
      According to resource requests it will choose a bunch of satisfying instance types and ask aws for the cheapest.
      Test done by scaling a basic nginx deployment to different numbers:
      With 30 replicas, karpenter spins up a t3a.small eks node.
      With 100 replicas, karpenter spins up a c4a.4xlarge eks node.
      Keep in mind that there's also the node pod capacity that can induce new nodes creation even if there are available resources (I was surprised it needed a new node for nginx pods with all the available CPU & mem, but turns out the m6g.medium instances I was using have an 8 pod limit capacity)

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

      It will find the cheapest available instance type based on the workload requirements and batch size. With cluster rebalancing it'll even calculate what has changed and make sure the cluster is running with optimal utilization and low cost

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

    Amazing!

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

    very nice video.

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

    You're fantastic.

  • @mranonymous_4728
    @mranonymous_4728 5 місяців тому

    This is most easy explanation i ever saw ever for Karpenter, keep up the good work !

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

    Amazing

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

    Wow !! Simple and easy explanation. Thanks.

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

    Where do I get that Infinidash t-shirt? Great video BTW

  • @snygg-johan9958
    @snygg-johan9958 2 роки тому +2

    Very nice! Does it also work with hpa during high loads?

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

      Yep! HPA creates new pods. The scheduler will try to place them. If it fails Karpenter will create new nodes.

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

    thanks bro

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

    Justin, this was an amazing explanation. I have a doubt though. Does Karpenter also re adjust pod placement on nodes for better utilisation of nodes and to conserve space and cost during auto scaling ?

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

      Not for now.

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

      The node expiration does it indirectly: when an underused node is terminated by karpenter upon expiration, the pods to reschedule will use an existing node if available capacity, if not it will recreate a node accordingly.

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

      Node consolidation is out now ua-cam.com/users/shortsxX3aBgpY3B4?feature=share

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

    Oops "crashloopbackoff"! That was hilarious.

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

    Great explanation about Karpenter and Cluster Autoscaler. Can you let me know for an EKS cluster having both Karpenter and Cluster Autoscaler enabled at the same time, will there be a race condition between them to scale or de-scale instances when there is huge Unscheduled pods or Unused nodes to terminate.

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

      Yes, if you don’t limit the scope of nodes Karpenter or CAS are controlling you will have race conditions. You can do that by specifying node groups for CAS and provisioner labels for Karpenter

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

    WOW just WOW

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

    Great video thanks. But that last example you have shown goes against the high availability concept since it is a single point of failure.

    • @JustinGarrison
      @JustinGarrison  Рік тому +1

      For some workloads a single point of failure is acceptable. With Karpenter it’s up to the application to decide

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

    This guy has balls

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

    City is in fire and you are recording a tutorial 😁

  • @user-dw3vk6ji1i
    @user-dw3vk6ji1i Рік тому

    @Justin Garrison I watched a video for you where you demoed Karpenter. You said something about a blog for a company called strike or spike that reduced cost by using on demand ec2 for their baseline workloads and spot for what exceeds that.
    Can you share a link for that?

    • @JustinGarrison
      @JustinGarrison  Рік тому +1

      I remember reading that article but don’t remember the company, sorry

    • @user-dw3vk6ji1i
      @user-dw3vk6ji1i Рік тому

      @@JustinGarrison no worries, thank you for your response, do you happen to remember any useful docs that shed light on how to set a provisioner to handle your baseline workloads with on demand instances and provision spot instances for what exceeds that?

  • @JackReacher1
    @JackReacher1 Рік тому +1

    So the difference is Karpenter (talks to nodes) vs Cluster Autoscaler (talks on nodegroup level)?

    • @JustinGarrison
      @JustinGarrison  Рік тому +1

      Roughly, yes. There’s a lot of assumptions made with node groups and more control (and requirements) talking to nodes

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

    Is it possible to use Karpenter with "kubeadm k8s cluster", other than the EKS.

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

      Yes, it works with any Kubernetes cluster running in AWS (not just EKS)

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

      @@JustinGarrison Thanks for the info.

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

    So so Aws

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

    CRASHLOOPBACK!!! LOL

  • @gabrieldavidorozcourrutia7589

    I was at work and nobody belived in me when I said I was studying

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

    What about a situation when someone fucks up their deployment manifest and deploys to cluster ?
    As an administrator I have cost constraints on top of business requirements and on top of devs requirements.
    And as a K8S Operator of Multi-Tenant clusters you have to make sure the workloads have strictly defined requests and limits that match what you signed with customer -> you can use OPA for that but still deploying something without "Why" question is open for abuse.
    If you deploy something that just looks at workload and provisions without asking a "why the fuck you need 50 RTX3090 EC2?" instances -> you are a great source of exploitation.

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

      The provisioners can set limits in multiple dimensions. You can set caps at instance types, total number of CPU/memory and other options. It's possible to set up provisioners per namespace (if that's how dev teams are separated) and restrict what instances teams can deploy

  • @jiaruitian677
    @jiaruitian677 6 місяців тому

    oh, sorry, I just keep worrying you would run out the balls 😂

  • @J.erem.y
    @J.erem.y Рік тому

    This video is a serious take on the current state of technology? What could go wrong... This is like needing surgery, and someone in a clown outfit is your surgeon and he explains things by squeaking his nose and juggling balls.

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

      Everyone learns differently and have you ever seen Bill Nye, Alton Brown, or Patch Adams?