Understanding CPU & Memory with the Kubernetes Vertical Pod Autoscaler

  Рет қаралды 32,097

That DevOps Guy

That DevOps Guy

Күн бұрын

Пікірлер: 59
@melvincross1173
@melvincross1173 2 жыл бұрын
Thanks for this. I needed a nice refresher on autoscaling.
@cezexcezex9888
@cezexcezex9888 4 жыл бұрын
a reliable and practical approach to the basics of scaling
@helders
@helders 3 жыл бұрын
I already said that your videos are awesome and if you don't mind i'd like to make a suggestion, it would be great if you would break the video in chapters using KZbin feature, this way we can go straight to a certain point we want to review for example. And again, awesome content, you rock
@everythingdevops4048
@everythingdevops4048 3 жыл бұрын
Thank you so much, you are generous and kind!
@saikrishna787
@saikrishna787 2 жыл бұрын
Thankyou somuch marcel I've been looking everywhere for this explanation thank god i found u and didn't knew that u hv explained them a year ago ❤️❤️
@MarcelDempers
@MarcelDempers 2 жыл бұрын
You are very welcome
@jasonhoover1311
@jasonhoover1311 3 жыл бұрын
Nice triceps, man! Looking jacked!! 💪💪
@asiselwa3506
@asiselwa3506 2 жыл бұрын
I'm honestly very excited as you explain. very very professional. thanks for the know-how transfer. I even recommended your videos to my colleagues, they like you too :) thanks thanks thanks you always make my days :)
@hrvojetonkovac6519
@hrvojetonkovac6519 4 жыл бұрын
Hi Marcel. Great video as always. Thanks
@fkangalov
@fkangalov Жыл бұрын
Very helpful video as always! Thanks!
@colunizator
@colunizator Жыл бұрын
Very good video and presentation. Thanks a lot.
@xxsybreedxx
@xxsybreedxx 2 жыл бұрын
Maan, youre the devops monster!
@AndrzejHochbaum
@AndrzejHochbaum Жыл бұрын
Fantastic tutorial - thanks!
@xinitbm9453
@xinitbm9453 4 жыл бұрын
Wow! Thank you very much Marcel for teaching and sharing all your demo samples. This helps a lot.
@Shubham__Saroj
@Shubham__Saroj 2 жыл бұрын
This is really amazing.
@manedurphy
@manedurphy 3 жыл бұрын
Unreal quality. Thank you!
@luqmansen
@luqmansen 4 жыл бұрын
I love your opening sountrack
@drewworksgh
@drewworksgh Жыл бұрын
Needed this 🙌 🙏
@songshindi6376
@songshindi6376 3 жыл бұрын
Excellent session on hpa ...pls upload helm chart detailed video.thank you
@silentwatcher13
@silentwatcher13 4 жыл бұрын
good job marcel, awesome video 👏🏼.. kubectl apply thankyou.yaml 😉
@omarnoureldin1838
@omarnoureldin1838 2 жыл бұрын
Great Video! Thanks for the detailed walk through. Just one question, why did we install the VPA from a container that can access our cluster, instead of directly installing it to our cluster like we did with the metrics server and application pods?
@MarcelDempers
@MarcelDempers 2 жыл бұрын
As far as I can remember at the time of this video, the VPA install scripts are Linux compatible only, requires few dependencies. Containers make this portable
@aryklein
@aryklein 4 жыл бұрын
Thanks for sharing Marcel! Awesome video man
@MRkumar-kx8rw
@MRkumar-kx8rw 2 жыл бұрын
Hi, thanks for detail steps and i have followed everything but in VPA recommendations are not showing
@marklong6572
@marklong6572 4 жыл бұрын
Yes! Anoher gem. You're on a roll bro!
@Mashaill
@Mashaill 4 жыл бұрын
Many thanks JIT video
@bled_2033
@bled_2033 4 жыл бұрын
Great work! I like your video!
@thiagocnunes
@thiagocnunes 3 жыл бұрын
Amazing, thanks !
@gmanIL
@gmanIL 3 жыл бұрын
Amazing Stuff. Thanks.
@hachastico674
@hachastico674 4 жыл бұрын
Damn! This is so good material! Thanks a lot
@rkgaming7579
@rkgaming7579 2 жыл бұрын
dude it's really nice explained subscribe...
@pasqualepunzo3406
@pasqualepunzo3406 4 жыл бұрын
thank you marcel !
@mertcanoksuz745
@mertcanoksuz745 2 жыл бұрын
Very helpful video. A blessing to me, because I am currently working on my bachelors thesis. But I have a question. So using the VPA, you can define the requested resources more efficiently. But using the VPA brings no performance improvement, right? Because no matter what the current requested cpu is in the yaml file is, the pod will take as much resources as needed and available to my understanding (provided that there is no limit specified).
@MarcelDempers
@MarcelDempers 2 жыл бұрын
You're right. Requested value simply helps the scheduler predict where the best place to schedule the pod is. There is no performance impact or gain. The pod will use as much CPU as it can see, which is the "limit" field in the YAML. Sometimes it may see all cores in the node, but the kernel will restrict it to only the limit in the YAML. Linux kernel has built in CPU throttling that K8s uses
@mertcanoksuz745
@mertcanoksuz745 2 жыл бұрын
@@MarcelDempers Thank you very much for your quick response and further explanation. Have a great one!
@daemon9712
@daemon9712 2 жыл бұрын
As always awesome video and explaination. But i have one question, can we implement the VPA and HPA at the same time. If yes please make a video on that or explain in comment. Let suppose, we implement the VPA, and in the node we have limited resources in the node, then what will happen to that pod? If we want to enable VPA and Cluster Auto Scaler, who can we perform that?
@MarcelDempers
@MarcelDempers 2 жыл бұрын
You can use VPA\HPA\Cluster-autoscaler at the same time. The VPA will simply recommend resource limits based on actual usage. I would personally not have the VPA run in auto update mode. You need to manually set limits equests based on how you want to slice and dice your resources for pods. A resource hungry pod will use all resources on a node and starve it. You can add the cluster autoscaler to add more nodes when this happens
@7BlackJack8
@7BlackJack8 Жыл бұрын
pure gold
@bhaskar1843
@bhaskar1843 2 жыл бұрын
I think for autoscaling of nodes we already setup in our cloud like “target groups” and coming to pod level we use replica sets Then what will be purpose this pod level scaling again???
@prashnttf
@prashnttf 3 жыл бұрын
Thanks a lot its really helpful. How do we reserve system allocatable over ami to for kubelet.
@romandolya4548
@romandolya4548 2 жыл бұрын
Awesome explanation! What theme are you using in vscode? It looks nice
@gdevelek
@gdevelek 2 жыл бұрын
A critical question I have not found an answer for yet: in AUTO mode, how often does it intervene to make changes?
@m19mesoto
@m19mesoto 4 жыл бұрын
Thank you!!!!!!!
@atanudebnath9173
@atanudebnath9173 4 жыл бұрын
Awesome 👍
@MegaAVINASH24
@MegaAVINASH24 3 жыл бұрын
I am getting “error running summary “. Can you help me with the fix? I cloned from git and did kubectl apply
@EthanLR
@EthanLR 3 жыл бұрын
12:44 why use debian instead of alpine? Is a vpa able to be installed on alpine? And thanks for the video!
@MarcelDempers
@MarcelDempers 3 жыл бұрын
The VPA repo has a vpa-up script which is assumed to be executed on a person's PC to deploy the components. It seems to be written for debian\ubuntu based OS so did not want to deal with dependencies to attempt an alpine port. I'm sure you could get it to work on alpine but may require changes
@EthanLR
@EthanLR 3 жыл бұрын
@@MarcelDempers thanks
@creative-commons-videos
@creative-commons-videos 3 жыл бұрын
can you make a video on Rancher 2 ?
@AmanDeep-rv1sd
@AmanDeep-rv1sd 2 жыл бұрын
ive read that vpa shouldnt be used in prod as it regularly restarts the pods.. is this true? if yes and if I have to run it in dev env, how am I gonna do accurate load testing.. is the only way here is to replicate the load in prod and do manual load testing in dev?
@jurajnovotny4725
@jurajnovotny4725 5 ай бұрын
Hi, any news regarding the restarting the pods ? Did you have a chance to test it ?
@mooa6554
@mooa6554 2 жыл бұрын
Your videos are nice. Your muscular arms is sometimes distracting😀
@ashishbadgujar8215
@ashishbadgujar8215 2 жыл бұрын
same here😅
@lukapiske
@lukapiske 3 жыл бұрын
Ou I am so much afraid now
@chornsokun
@chornsokun 4 жыл бұрын
You deserve a good haircut 😆
@bobfunk5055
@bobfunk5055 Жыл бұрын
Some great stuff in hear but editing out every breath into one long relentless barrage of words is tiring to listen to.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 49 М.
Introduction to Helm | Kubernetes Tutorial | Beginners Guide
27:32
That DevOps Guy
Рет қаралды 173 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 66 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 46 МЛН
Kubernetes throttling? It doesn't have to suck!
45:10
Netdata
Рет қаралды 6 М.
Autoscaling in Kubernetes
19:07
Pavan Elthepu
Рет қаралды 26 М.
Understanding Kubernetes RBAC | Access control basics explained
33:29
That DevOps Guy
Рет қаралды 51 М.
How to debug Kubernetes? (Deployments, Services & Ingress)
18:45
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 77 М.
Istio Service mesh explained
33:14
That DevOps Guy
Рет қаралды 55 М.
Kubernetes cluster autoscaling for beginners
12:55
That DevOps Guy
Рет қаралды 52 М.
Kubernetes Antipatterns: CPU Limits • Natan Yellin
1:01:17
Platform Engineering
Рет қаралды 9 М.