Hi Piyush, Can you please explain what if the node has affinity that matched pod affinity labels but not pod toleration labels. which rule it should take highlight priority(taints, tolerations or node affinity)?
If it matches with pod affinity that means that pod is meant to be scheduled on that node, if it matches with taints and toleration that means that pod can be scheduled on the tainted node. I would highly recommend trying it out yourself and you will get a good understanding
Good video. How do we find the node's allocated memory in the actual CKA test? So that we can get the pod up and running by configuring requests and limits within the memory allocated to the node.
Metrics server helps you to expose the node level and pod level metrics to hpa, kubeapiserver so that you can run kubectl top nodes/pod command and it expose via metrics API. Even if you are using a third party monitoring solution you would have to expose the metrics, that will be consumed by some tool. so, yes its a best practice
If they are good, I edit it myself, if they are bad, I have a video editor who does that. Just kidding. Earlier I used to do it myself but for this series and for the past few months, my video editor is doing that. Did you like it?
You forgot to show the po.spec.resources, you showed only the po.spec.containers.resources. The first one counts all resources used by all the containers of the pod.
thanks, totally agree with you, the more practice we do, the more understanding we get .... well done!
Yes, practice makes perfect!
Very well explained Thanks.
You are welcome!
Great work, Piyush. Keep it up.
Thanks a ton
Wonderful explanation!!
Glad it was helpful!
Thank you for the informationens on requests and limits and showing what happens, if they are not met
Welcome
Nice Video, thank you !
Thanks
Thanks a lot 🙌🙌
You're welcome!
Thank you sir....❤❤❤❤🎉❤❤❤❤
welcome buddy
Great work bro
Thank you bro 🙂🙏
good explaining thanks
Happy to hear it, keep practicing! 🚀
Thanks ❤
Thanks, Each and every concept explained very well . soon gong to complete Kubernetes series.
Awesome! You've got this! 🚀
Really helpful 👍
Glad to hear that!
nice video thank you piyush
Thank you!
Completed the video....
great videa
Thank you 😊
+1 lesson.Waiting for next one...
Scheduling next 4 videos now
Thank you
You're welcome
Thank You, my 5th day teaching this woderful course.
You're very welcome!
Day 14 15 16 interesting topics Explained Very well👍 It was very informative and heplful
Thanks🙂
Thank you
Thank you for sharing your knowledge at no cost #cka
Welcome!
very helpful
Thank you
Very nice👌
Thanks a lot
Good info
❤❤❤❤❤
🏅
❤
👍
Can you cover Karpenter as well please. Thanks
Karpenter is not part of the CKA but I will try to cover it once I am done with CKA series.
Hi Piyush,
Can you please explain what if the node has affinity that matched pod affinity labels but not pod toleration labels. which rule it should take highlight priority(taints, tolerations or node affinity)?
If it matches with pod affinity that means that pod is meant to be scheduled on that node, if it matches with taints and toleration that means that pod can be scheduled on the tainted node. I would highly recommend trying it out yourself and you will get a good understanding
Good video. How do we find the node's allocated memory in the actual CKA test? So that we can get the pod up and running by configuring requests and limits within the memory allocated to the node.
Nevermind. We could find that with the kubectl describe node . Thank you.
Yes you can describe a node or generate its yaml, you can also use kubectl top nodes
noice
do you need metric server deployment for each cluster when we assign resource to K8 pods.? Please suggest.
Metrics server helps you to expose the node level and pod level metrics to hpa, kubeapiserver so that you can run kubectl top nodes/pod command and it expose via metrics API. Even if you are using a third party monitoring solution you would have to expose the metrics, that will be consumed by some tool. so, yes its a best practice
Comment for target....!!!!!
Hi Piyush,
How did you generate the matrics-server and matrix-request yml file ?
Metrics-server YAML I downloaded from the GitHub and the other manifest, I have explained in the previous videos how to create it from scratch
From where do we get metrics-server resouce?
You can install it from the Github repo below
github.com/piyushsachdeva/CKA-2024/tree/main/Resources/Day16
What about ResourceQuota and LimitRange?
It was not part of cka
Who edits your videos?
If they are good, I edit it myself, if they are bad, I have a video editor who does that. Just kidding.
Earlier I used to do it myself but for this series and for the past few months, my video editor is doing that. Did you like it?
You forgot to show the po.spec.resources, you showed only the po.spec.containers.resources.
The first one counts all resources used by all the containers of the pod.
That was introduced in 1.32 so not applicable in these videos
@@TechTutorialswithPiyush Software Version: Kubernetes v1.31 ok my bad, thanks :)
@eclipsetutorialvideo At the time of recording it was 1.29 and 1.30
Thank you sir