No video

Setting Resource Requests and Limits in Kubernetes

  Рет қаралды 121,362

Google Cloud Tech

Google Cloud Tech

Күн бұрын

Пікірлер: 48
@ramonkallas
@ramonkallas 6 жыл бұрын
3:07 almost spilled coffee on myself (with headphones on)
@abhigp27
@abhigp27 5 жыл бұрын
:D :D
@iammrchetan
@iammrchetan 5 жыл бұрын
hahaha...correct
@pur3D3votion
@pur3D3votion 4 жыл бұрын
Well, as least he got our attention 😅
@SunggukLim
@SunggukLim 4 жыл бұрын
so did I
@azy22222
@azy22222 4 ай бұрын
Me also - then I read this comment and almost spilled my coffee from laughter!!!
@ToallpointsWest
@ToallpointsWest 4 жыл бұрын
Well presented, and exactly what I was looking for Thank you!
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 3 ай бұрын
simple and to the point :)
@riskylovers
@riskylovers 7 ай бұрын
Here, is memory component similar to RAM only right?
@genericusername337
@genericusername337 2 жыл бұрын
if I'm using GKE, where do I go to evaluate how much a resource should request or be limited by?
@Shabasky1
@Shabasky1 6 жыл бұрын
This is just what I was studying last night! Awesome!
@LukeNimtz
@LukeNimtz 6 жыл бұрын
too bad you can't throttle memory with swap 🤔
5 жыл бұрын
Nice video but one thing is not so clear: How to check the resources the pods are actually using? Lets say I have a cluster running and have assigned some resources and limits. How can I check if those values are good for my application? kubectl top and describe give very little information that is hard to relate. Is there a good resource about this?
@91harshal
@91harshal 5 жыл бұрын
use prometheus with service mesh like linkerd/istio
@aidenkanno9224
@aidenkanno9224 2 жыл бұрын
so touching for an excellent video
@googlecloudtech
@googlecloudtech 2 жыл бұрын
Glad you enjoyed it
@NithyaNatarajnn
@NithyaNatarajnn 4 жыл бұрын
Sandeep, I believe having development and production seperated by namespaces is not a good practice. The development load will affect production load. What do you think about it?
@rohitjmics37
@rohitjmics37 Жыл бұрын
Is there any way to restrict some core shall not be used by Kubernetes on host machines. For example Server-1 having core 0-31 where I wanted to keep 1,2,3,4 CPU as isolated and core 1,2,3,4 shall not be used by K8s. any configuration for this goal ?
@richardlanglois5183
@richardlanglois5183 2 жыл бұрын
Great presentation!
@googlecloudtech
@googlecloudtech 2 жыл бұрын
Glad you liked it!
@steveaustin6608
@steveaustin6608 2 жыл бұрын
thanks, short and clear
@googlecloudtech
@googlecloudtech 2 жыл бұрын
You're welcome!
@johngrabner
@johngrabner 9 ай бұрын
What about GPU resources? These are often more scarce than CPU memory of CPU cylces.
@danielriedl1419
@danielriedl1419 Жыл бұрын
Thanks Sandeep, perfect presentation!
@mefirst5427
@mefirst5427 2 жыл бұрын
Very well presented information! Why couldn't the Kubernetes documentation just say "milli-cores" explicitly, I had to dig around to find that.
@laszlo.laszlo
@laszlo.laszlo 4 жыл бұрын
Hello! This's a very clear video about resources. Thank you very much. Keep going.
@jw9308
@jw9308 5 жыл бұрын
You say the values for each container are additive. Does this mean that if I have three pods, best practice should mean that the limt of 1 needs to be split between the three pods. i.e. I currently have limit 0.5 for main pod and 0.25 for the other two. Then the same for the requests. I have 0.6 for the the main pod and 0.2 for the other two.
@manikanthkommoju3176
@manikanthkommoju3176 6 жыл бұрын
is request and limit confined to containers or pods? because if i specify request and limit values to pod where pod have multiple containers then in that case will all the containers get adequate amount of resource?
@Marklavrinenko
@Marklavrinenko 5 жыл бұрын
As you can see in docs kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#container-v1-core resources are specified for containers. Pod Resources consists of resources of all pod's containers
@durza9390
@durza9390 2 жыл бұрын
Very well explained!
@zanastumasonis
@zanastumasonis 3 жыл бұрын
throttling and the area between over-requested but below a hard limit is still unclear on what kubernetes really does
@nagasaiponnuru9952
@nagasaiponnuru9952 4 жыл бұрын
Can you tell us what is hard limit in quota
@zocratiko
@zocratiko 5 жыл бұрын
Thanks! In my case I had to use Mi as unity instead of Mib.
@quocnguyenanh1422
@quocnguyenanh1422 3 жыл бұрын
thank you for such a great video. you're amazing
@googlecloudtech
@googlecloudtech 3 жыл бұрын
Glad you enjoyed it!
@er.rajeevdhiman1494
@er.rajeevdhiman1494 4 жыл бұрын
What about swap RAM ?
@marwan986
@marwan986 6 жыл бұрын
Keep up the good work 👍
@aq1q
@aq1q 4 жыл бұрын
what about GPU though?
@SatyanarayanaBolenedi
@SatyanarayanaBolenedi 5 жыл бұрын
Thanks!!
@nicks7418
@nicks7418 4 жыл бұрын
have we all seen shifted tabulation at 5:15 ?)
@Holms
@Holms 6 жыл бұрын
I still can't understand what is defaultRequest. About what kind of request are we talking about? We can limit resources per let's say http request for container? And that's the default value specified, if I don't specify for a container? (Sorry this is first video I see from this channel)
@PeterMalina
@PeterMalina 6 жыл бұрын
The "default" are default limits of CPU and memory, while "defaultRequest" are default requests for the CPU and memory. You can think of "requests" as: Assign this much CPU and memory to the given container. So if you set CPU requests to e.g. 500m, there will always be half of the core reserved for you container on the node where it runs
@IndrajitRajtilak
@IndrajitRajtilak 6 жыл бұрын
- There are only two kinds of Resources that can be Requested/Limited in K8s (as per the video atleast): Memory & CPU - 'defaultRequest' is specified with the 'limits' of K8s. When you are specifying limits, using 'defaultRequest' you can specify what is the default CPU and Memory 'request' by each Container, IF the container does not define one explicitly. - Let's say you generate a YAML file for a container and don't mention the CPU and Memory request explicitly, and schedule it on a node which has the 'defaultRequest' set; then the container gets resources described by the 'defaultRequest'. Hope this makes sense :)
@manikanthkommoju3176
@manikanthkommoju3176 6 жыл бұрын
are we imposing resource constraints on pod/container?
@er.rajeevdhiman1494
@er.rajeevdhiman1494 4 жыл бұрын
My application needs SwAp Memory
@Sai-ik8hc
@Sai-ik8hc 3 жыл бұрын
but kuberntes doesnt support swap memory right
@pengdu7751
@pengdu7751 6 жыл бұрын
great video. not sure though why the human appearance is necessary
Terminating with Grace
5:30
Google Cloud Tech
Рет қаралды 41 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 33 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,7 МЛН
Organizing Kubernetes with Namespaces
8:52
Google Cloud Tech
Рет қаралды 94 М.
Kubernetes crash course: In less than 15 minutes
14:26
IT k Funde
Рет қаралды 117 М.
Kubernetes Namespaces Explained in 15 mins | Kubernetes Tutorial 21
16:01
TechWorld with Nana
Рет қаралды 179 М.
Kubernetes Health Checks with Readiness and Liveness Probes
5:39
Google Cloud Tech
Рет қаралды 93 М.
Networking with Kubernetes
11:07
VMware Cloud Native Apps
Рет қаралды 217 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 280 М.
Understanding CPU & Memory with the Kubernetes Vertical Pod Autoscaler
22:12
Resource Management in Kubernetes
21:24
Pavan Elthepu
Рет қаралды 12 М.
Kubernetes - Services Explained in 15 Minutes!
14:03
KodeKloud
Рет қаралды 224 М.