[ Kube 16 ] Using Resource Quotas & Limits in Kubernetes Cluster

  Рет қаралды 10,542

Just me and Opensource

Just me and Opensource

Күн бұрын

In this video I will show you how to set and use resource quotas and limits in Kubernetes cluster to better use your cluster.
Github: github.com/justmeandopensourc...
Any comments/questions/feedback, please leave me a comment.
I hope you found this video useful. Please share it with your friends if you like it and subscribe to my channel for more videos.
Thanks again for your time watching this video
If you wish to support me:
www.paypal.com/cgi-bin/webscr...

Пікірлер: 47
@RK-wk6zn
@RK-wk6zn 4 жыл бұрын
Thanks alot Venkat for these tutorials! I have cleared CKA mainly because of these videos. These videos gave me precise idea about the concepts and how to apply them.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi RKM, I am extremely happy to hear this. Very delighted. Infact you are motivating me to do more. Congrats on earning CKA certification. I am looking to do it as well. But busy at the moment preparing videos for various series. I am glad to hear that my channel has helped someone in their preparation for CKA. Cheers.
@aparnakonakanchi1120
@aparnakonakanchi1120 Жыл бұрын
Thank you venkat for all these videos. I am learning kubernetes from your videos. Your way teaching is good and clear to me. I am looking for videos on terraform as well.please do post those as well. Thank you
@nikhilwankhade3953
@nikhilwankhade3953 2 жыл бұрын
I had learned many things from your demos. Thanks 🙏
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Thanks for watching.
@amitpawar3859
@amitpawar3859 2 жыл бұрын
Thanks Venkat Sir.. Nice informative video...
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Hi Amit, thanks for watching. Cheers.
@romantsyupryk3009
@romantsyupryk3009 4 жыл бұрын
Thanks so much for this tutorial.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Roman, thanks for watching. Cheers.
@nikhilwankhade3953
@nikhilwankhade3953 2 жыл бұрын
Thanks. very useful videos 👍
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Thanks for watching.
@nguyenhuuthang5372
@nguyenhuuthang5372 3 жыл бұрын
Great work Venkat. Hope to make more series and videos
@justmeandopensource
@justmeandopensource 3 жыл бұрын
Hi Nguyen, thanks for watching. I will surely be making more videos. Cheers.
@jlan421
@jlan421 4 жыл бұрын
Venkat, great tutorial, might be a continuation to this, topic if you can create a related video tutorial on admission controller, pod security policy and Open Policy agent (OPA). Cheers!
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi, thanks for watching this video. I have pod security policies and opa in my list and will work on that. Cheers.
@johnclarkson6120
@johnclarkson6120 4 жыл бұрын
Dude, this is best k8s course,,,google need u.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
HI BGP ASNO, many thanks for watching this video and taking time to comment and appreciate. You made my day. :)
@md.zakirhossain6210
@md.zakirhossain6210 4 жыл бұрын
Thanks
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Zakir, thanks for watching.
@vibhormathpal2021
@vibhormathpal2021 4 жыл бұрын
Thanks for the wonderful video...here i have one question...is it necessary to create quota limit at NS level before resources at pod level? on other words, can i straight away apply the resource limit at POD without making any quote at NS .
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Vibhor, thanks for watching. In order to enforce limits for all pods by default you can set it at the namespace level. So that you don't have to define it for every pod.
@bhupathirajuramnarendra7163
@bhupathirajuramnarendra7163 4 жыл бұрын
hi venkat ur amazing man , i need some clarification that in real time also we use quotas to our namespaces?
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Bhupathi, thanks for watching. What you mean by real time? Its a common practice to use Quotas so that you can define which teams can use how much of resources if the cluster is shared between multiple teams. Cheers.
@nikhilwankhade3953
@nikhilwankhade3953 2 жыл бұрын
Can we have vertical scaling of pods with automatic scale based on usage of resources. Thanks. 🙏
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Yes you can. I have done a video on it. kzbin.info/www/bejne/nH27oniLfsSKiMk
@gautamsoni17990
@gautamsoni17990 4 жыл бұрын
Hey Venkat, I have a doubt in this video, as you modified the quota-mem.yaml and add the requests.memory: "100Mi", After then you try to create one pod where only memory limits set, there were no requests memory configured in the pod. THen your pod doesn't create but i have tried the same thing and pod has been created and running fine. ++++++++++++++++++++ [vagrant@kmaster mine_yaml]$ kubectl -n quota-demo-ns describe quota demo-quota-mem Name: demo-quota-mem Namespace: quota-demo-ns Resource Used Hard -------- ---- ---- limits.memory 100Mi 500Mi requests.memory 100Mi 100Mi [vagrant@kmaster mine_yaml]$ [vagrant@kmaster mine_yaml]$ more pod-quota-mem.yaml apiVersion: v1 kind: Pod metadata: name: nginx namespace: quota-demo-ns spec: containers: - image: nginx name: nginx resources: limits: memory: "100Mi" [vagrant@kmaster mine_yaml]$ [vagrant@kmaster mine_yaml]$ kubectl -n quota-demo-ns get all NAME READY STATUS RESTARTS AGE pod/nginx 1/1 Running 0 6m16s [vagrant@kmaster mine_yaml]$ ++++++++++++++++++++ Please let me know if anything else required.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
HI Gautam, thanks for watching. If you don't specify requests but only limits, then limits will be used as requests. Its a good practice to specify both requests and limits.
@manikanthkommoju3176
@manikanthkommoju3176 5 жыл бұрын
how do we login to the k8 cluster with tokens/rbac/ldap?
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Mani, Thanks for watching the video. RBAC is different to Authentication. RBAC is role based access control for authorization. You create a role/clusterole and map it to existing accounts. Authenticating to the cluster has to be done by external service like LDAP. I haven't played with that bit yet. Once I have some knowledge on it, I will post the video. Thanks.
@manikanthkommoju3176
@manikanthkommoju3176 5 жыл бұрын
Just me and Opensource thanks for taking time to reply👍
@k.r.mohanreddyk.r2350
@k.r.mohanreddyk.r2350 5 жыл бұрын
Hi u can explain kubernetes on aws eks services please
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Mohan, Thanks for watching my video. I am yet to get my hands on AWS side and when I get some time, I will definitely make it a video for the public. Thanks
@sudheshpn
@sudheshpn 4 жыл бұрын
Can you do a video to create resource quota using admission controller
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Sudhesh, thanks for watching. In this video I used microk8s cluster. But the process should be similar in any kubernets cluster. I don't think you need to use admission controller.
@sudheshpn
@sudheshpn 4 жыл бұрын
@@justmeandopensource Its always better to have all policies like ResourceQuota,PSP applied on the Admission controller instead of namespace level so thats it becomes easy to manage
@ledung1030
@ledung1030 2 жыл бұрын
can you share tool at right corner to monitor? thanks a lot
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Hi, that's conky. You can install conky and search for conkyrc configuration file in internet and you will find loads of them. You can customize what you want to see. I don't use this anymore and haven't saved a copy of my config either.
@ledung1030
@ledung1030 2 жыл бұрын
@@justmeandopensource thank you!
@justmeandopensource
@justmeandopensource 2 жыл бұрын
@@ledung1030 you are welcome
@kaankarakaya4278
@kaankarakaya4278 5 жыл бұрын
can you take video about login new dashboard with https
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi, Thanks for watching the video. For Kubernetes Dashboard, you can check out my other video at kzbin.info/www/bejne/mKPUcoCvlt6dqKs. The web dashboard is already https enabled. Thanks.
@devopskey6251
@devopskey6251 2 жыл бұрын
or some other communication channel like slack channel.
@travelersnotebook3503
@travelersnotebook3503 2 жыл бұрын
Difference between Requests and Limits were not clear from the video
@justmeandopensource
@justmeandopensource 2 жыл бұрын
Sorry about that if you feel it that way. I should have made it clear. Will keep it in mind for future videos. Thanks for watching.
@travelersnotebook3503
@travelersnotebook3503 2 жыл бұрын
@@justmeandopensource Overall the content is great. i just felt that part was missing.
@justmeandopensource
@justmeandopensource 2 жыл бұрын
@@travelersnotebook3503 thanks for the feedback. Cheers.
@gautamsoni17990
@gautamsoni17990 4 жыл бұрын
Hey Venkat, I have a doubt in this video, as you modified the quota-mem.yaml and add the requests.memory: "100Mi", After then you try to create one pod where only memory limits set, there were no requests memory configured in the pod. THen your pod doesn't create but i have tried the same thing and pod has been created and running fine. ++++++++++++++++++++ [vagrant@kmaster mine_yaml]$ kubectl -n quota-demo-ns describe quota demo-quota-mem Name: demo-quota-mem Namespace: quota-demo-ns Resource Used Hard -------- ---- ---- limits.memory 100Mi 500Mi requests.memory 100Mi 100Mi [vagrant@kmaster mine_yaml]$ [vagrant@kmaster mine_yaml]$ more pod-quota-mem.yaml apiVersion: v1 kind: Pod metadata: name: nginx namespace: quota-demo-ns spec: containers: - image: nginx name: nginx resources: limits: memory: "100Mi" [vagrant@kmaster mine_yaml]$ [vagrant@kmaster mine_yaml]$ kubectl -n quota-demo-ns get all NAME READY STATUS RESTARTS AGE pod/nginx 1/1 Running 0 6m16s [vagrant@kmaster mine_yaml]$ ++++++++++++++++++++ Please let me know if anything else required.
[ Kube 17 ] Renaming Kubernetes Nodes
18:35
Just me and Opensource
Рет қаралды 7 М.
[ Kube 19 ] Performing Rolling Updates in Kubernetes
45:37
Just me and Opensource
Рет қаралды 10 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 36 МЛН
Самое Романтичное Видео ❤️
00:16
Глеб Рандалайнен
Рет қаралды 3,8 МЛН
Throttling: New Developments in Application Performance with CPU Limits - Dave Chiluk, Indeed
39:12
CNCF [Cloud Native Computing Foundation]
Рет қаралды 22 М.
Resource Management in Kubernetes
21:24
Pavan Elthepu
Рет қаралды 10 М.
[ Kube 21 ] How to use Statefulsets in Kubernetes Cluster
33:25
Just me and Opensource
Рет қаралды 29 М.
[ Kube 14 ] Using Secrets in Kubernetes
21:05
Just me and Opensource
Рет қаралды 21 М.
[ Kube 20 ] NFS Persistent Volume in Kubernetes Cluster
24:08
Just me and Opensource
Рет қаралды 31 М.
Kubernetes Explained in 15 Minutes | Hands On (2024 Edition)
15:18
Travis Media
Рет қаралды 66 М.
"I Hate Agile!" | Allen Holub On Why He Thinks Agile And Scrum Are Broken
8:33
[ Kube 35 ] Using Horizontal Pod Autoscaler in Kubernetes
24:59
Just me and Opensource
Рет қаралды 38 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН