K8s Horizontal Pod Autoscaler | HPA Manifest File Explained | Pod Requests Limits | HPA Demo

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 86

  • @bibekdas3592
    @bibekdas3592 2 роки тому +2

    crisp and clear. Saved a lot of my time. Thank you Raj. Simply Brilliant

  • @AliTaj5610
    @AliTaj5610 3 роки тому

    Thanks!

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Wow, TY Ali for the donation, much appreciated.

  • @CoffeeandBarbell
    @CoffeeandBarbell 3 роки тому +2

    Beautifully explained. All my queries are cleared. Thank you.

  • @mediatwinkleTV
    @mediatwinkleTV 3 роки тому

    Dude, you're a real life super hero. keep it up !

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Haha thanks mediatwinkle, glad the video was helpful.

  • @bhasthod1
    @bhasthod1 4 роки тому +4

    Excellent explanation and very apt presentation with the diagrams. Great work Sir...!

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Thanks Thrihesh for the kind words. I am glad you found it useful, thanks for watching.

  • @bhuwaneshwarmishra94
    @bhuwaneshwarmishra94 3 роки тому

    Excellent Raj ....now my all doubts related to HPA is cleared. Thank You so much

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

    Raj went beast mode with this tutorial. Very nice work!

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

      Appreciate it!

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

      @@cloudwithraj Hey Raj would you be willing to do a consultation? For payment of course. My company is stuck on the last piece to launch our server hosting business. Were having issues using the kubernetes JavaScript client to stream pod logs to our react front end. Its been websocket hell. Any help or advice would be awesome and again we can pay.

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

      @@byteslinger3187 ​ Ty for the offer! Not doing any consultation currently

  • @deepanrajan7430
    @deepanrajan7430 4 роки тому +3

    All your kubernetes video are really great, can you please share more videos like ingress controler, node affinity

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Thanks for the kind words. Couple more Kubernetes videos coming soon!

  • @tr8811
    @tr8811 3 роки тому

    Awesome Video, really cleared my concept of HPA, and it is working with Cluster Autoscaler. Thank you Very much for the video.

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

    it was very well explained , i have gone through many videos and docs . but getting more and more confused . specially explanation for targetCPUUtilizationPercentage was so much required . having it in demo is another level .

  • @101BeingHappy
    @101BeingHappy 2 роки тому

    Very well explained the concepts of autoscaling at different levels

  • @007hariharan
    @007hariharan 2 роки тому

    Great explanation. I was able to follow. You saved a lot of time. Thanks

  • @AliTaj5610
    @AliTaj5610 3 роки тому

    Thanks Raj! You made my day! Great demo!

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

    Great video, can we use prometheus instead metrics server ??

  • @durgadeep4988
    @durgadeep4988 3 роки тому

    Very clear and well illustrated !.

  • @gdevelek
    @gdevelek 3 роки тому +2

    In the CPU resource requests and limits 0.5 and 1.0 are NOT percentage numbers, they are ABSOLUTE numbers, and express cores. 0.5 means half a core. You need to correct this.

  • @MrAjsanpedro
    @MrAjsanpedro 4 роки тому +2

    Hi thank you for this video, I just need to ask on 9:47 is it also possible to monitor the targetMemoryUtilizationPercentage in HPA?

    • @cloudwithraj
      @cloudwithraj  4 роки тому +1

      Yeah, it's possible. HPA can monitor lot of advanced metrics beyond the basic ones.

  • @damonzh588
    @damonzh588 3 роки тому +2

    spec:
    maxReplicas: 8
    minReplicas: 2
    scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: nginx
    targetCPUUtilizationPercentage: 60

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

    The explanation is really good, thank you

  • @bhuwaneshwarmishra94
    @bhuwaneshwarmishra94 3 роки тому +1

    I request you Raj to pls guide me step by step creation on jenkins pipeline ....demo to onboard docker service using jenkins pipeline. How we can mention bitbucket repos inside jenkins pipe and build the same.

  • @itsthecrazytom7855
    @itsthecrazytom7855 4 роки тому +1

    Great video, really helped me get my head around the HPA concept thanks!

    • @cloudwithraj
      @cloudwithraj  4 роки тому +1

      Very welcome!

    • @hassanharrison3986
      @hassanharrison3986 3 роки тому

      i guess I am kind of off topic but do anyone know of a good website to watch newly released tv shows online?

    • @raylanamir3359
      @raylanamir3359 3 роки тому

      @Hassan Harrison Flixportal :)

    • @hassanharrison3986
      @hassanharrison3986 3 роки тому

      @Raylan Amir Thanks, I went there and it seems to work :D Appreciate it !

    • @raylanamir3359
      @raylanamir3359 3 роки тому

      @Hassan Harrison happy to help xD

  • @deepanshumishra4568
    @deepanshumishra4568 3 роки тому

    As always awesome video Raj , Thank you so much ♥

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

    absolutely great video sir

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

    Great video bro. Thank you very much.

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

    nicely explained.. Thank you so Much!!!

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

    Great presentation!
    Thanks so much.

  • @phucbker
    @phucbker 3 роки тому

    Thanks for detailed explanation!

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

    u r amazing raj

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

    Excellent explaining

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

    nice one.. simple and neat

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

    Very good content.

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

    Great demonstration. Question, how does the pod updates rolls out in HPA? For instance, I have HPA defined with minReplica's as 2 and max as 10, pods got scaled correctly when deployment triggered. However when I roll out update, it is supposed to bounce both the pods with new config, however I am seeing only 1 pod get bounced and I need to bounce the other one manually. How do I fix this?

  • @PauloEduardoftw
    @PauloEduardoftw 3 роки тому

    Executing kubectl get hpa, is returned 45%/50% with 3 replicas, for instance. This 45%, is the sum of all pods or among these 3 pods, is the pod with highest percentage? Nice explanation, I just would like to understand better this metric.

  • @richardlanglois5183
    @richardlanglois5183 3 роки тому

    Great presentation!

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

    Nice Explanation 👍😊

  • @kaustubhmishra3973
    @kaustubhmishra3973 3 роки тому

    What if I want to have more than 512 mib for a pod? Do we then need to increase the millicores? Also can we take any amount of millicores like 567 or 666?

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

    Loved it.

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

    on resources section, we are providing request and limit for cpu. A pod will be created with request cpu then how come it grows to use limit cpu ? Kindly clarify how request grows to complete the limit cpu

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

    Small correction: mebibyte uses 1024 as base, while megabyte uses 1000 as base.

  • @RahulSingh-ng9vi
    @RahulSingh-ng9vi Рік тому

    But what is the role of cpu limit in hpa scalling up and down, do we really need it or we should remove it

  • @aefwon3936
    @aefwon3936 3 роки тому

    where is the reference for the app, like selector shud be there in the HPA config, explanation is indeed good, but i think i missed it

  • @singaravelannandani7037
    @singaravelannandani7037 3 роки тому

    Eks namespace access level via aws sso video also we are looking...

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

    life saver

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

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

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

    Wowwwww

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

    I have an error : wget: can't connect to remote host:Connection refused. How can i fix it. My service type is ClusterIP

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

    Thank you so much

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

    veryy good. thanksssss

  • @김성광-q3m
    @김성광-q3m 2 роки тому

    I have set up my test program very similar to yours. I used apache2 ab command line to increase the load. I was able to see the number of pods increases as the cpu usages goes high. However, there was no time difference in Time per request or Total time taken when I manually increased number of replicas(let's say from replicas=2 to 4) . I played around number of request and number of concurrent requests options from ab command line. I was able to see an improvement in time per request with very particular set of request and concurrent request. I checked CPU usage with htop and it used 100% of CPU in very particular situation. So I had to make conclusion that increasing replicas doesn't always guarantee better performance for user's experience. I want to hear your opinion on this. Thank you

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

      because the purpose is to achieve higher availability, not better performance in speed, HA != faster

  • @reardeltoit4644
    @reardeltoit4644 3 роки тому

    thank you

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

    Kube will throttle the pod if cpu usage exceeds limit. Not kill it. There are other circumstances where kube will terminate pods.

  • @ranutoshniwal
    @ranutoshniwal 3 роки тому

    How to change default values in hpa

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

    Can you scale based on memory?

  • @QuangPham-bc7lc
    @QuangPham-bc7lc 11 місяців тому

    why this dashboard get the metrics so long?

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

    omg content.. can we have your Udemy course link? would try to enroll it

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

      bit.ly/3Eku9RH , max discount going on right now, expiring Monday

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

    🆒👍