What is Namespaces and Resource Quota in Kubernetes-Hindi | Lec-54 | Complete kubernetes | Devops

  Рет қаралды 72,354

Technical Guftgu

Technical Guftgu

Күн бұрын

LEC 54 NOTES TECHNICAL GUFTGU
====================
Install Docker
$ sudo apt update && apt -y install docker.io
Install kubectl
$ curl -LO storage.google... -s storage.google... && chmod +x ./kubectl && sudo mv ./kubectl /usr/local/bin/kubectl
Install Minikube
$ curl -Lo minikube storage.google... && chmod +x minikube && sudo mv minikube /usr/local/bin/
Start Minikube
$ apt install conntrack
$ minikube start --vm-driver=none
$ minikube status
==============================NAMESPACES===================================
apiVersion: v1
kind: Namespace
metadata:
name: dev
labels:
name: dev
=================================to create a pod=================
vi pod.yml
kind: Pod
apiVersion: v1
metadata:
name: testpod
spec:
containers:
name: c00
image: ubuntu
command: ["/bin/bash", "-c", "while true; do echo Technical Guftgu; sleep 5 ; done"]
restartPolicy: Never
==============================================================================================
$ kubectl config set-context $(kubectl config current-context) --namespace=dev
$ kubectl config view | grep namespace:
==============================================================================================
apiVersion: v1
kind: Pod
metadata:
name: resources
spec:
containers:
name: resource
image: centos
command: ["/bin/bash", "-c", "while true; do echo Technical-Guftgu; sleep 5 ; done"]
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "128Mi"
cpu: "200m"
============RESOURCEQUOTA========================================
apiVersion: v1
kind: ResourceQuota
metadata:
name: myquota
spec:
hard:
limits.cpu: "400m"
limits.memory: "400Mi"
requests.cpu: "200m"
requests.memory: "200Mi"
===========================================================
kind: Deployment
apiVersion: apps/v1
metadata:
name: deployments
spec:
replicas: 3
selector:
matchLabels:
objtype: deployment
template:
metadata:
name: testpod8
labels:
objtype: deployment
spec:
containers:
name: c00
image: ubuntu
command: ["/bin/bash", "-c", "while true; do echo Technical-Guftgu; sleep 5 ; done"]
resources:
requests:
cpu: "200m"
============================================================
apiVersion: v1
kind: LimitRange
metadata:
name: cpu-limit-range
spec:
limits:
default:
cpu: 1
defaultRequest:
cpu: 0.5
type: Container
==============cpu2.yml======================================
apiVersion: v1
kind: Pod
metadata:
name: default-cpu-demo-2
spec:
containers:
name: default-cpu-demo-2-ctr
image: nginx
resources:
limits:
cpu: "1"
=================================================================================================
apiVersion: v1
kind: Pod
metadata:
name: default-cpu-demo-3
spec:
containers:
name: default-cpu-demo-3-ctr
image: nginx
resources:
requests:
cpu: "0.75"
===============================================
Now you can Donate us via Paypal or Google Pay
Paypal link : www.paypal.me/...
GooglePay/PhonePe/BHIM App UPI ID : bhupinderccs@okaxis
Visit Our Website for all the Courses- www.technicalguftgu.in
Do subscribe to TECHNICAL GUFTGU channel and Press Bell icon & get regular updates on videos, DIRECT LINK TO CHANNEL : / technicalguftgu
Here are direct links of My All the Playlist: MUST CHECK
IPv6 Complete Tutorial for beginners Link : • IP Version 6 Tutorials...
Microsoft Azure Tutorial for beginners in Hindi/Urdu AZ-103 and AZ-900 LINK : • Microsoft Azure Tutori...
AWS Solution Architect-Associate complete Tutorials Link : • AWS Solution Architect...
Devops tutorials in Hindi:-
• What are the Pre-requi...
CCNA Complete Tutorials /Computer Networking Link : • CCNA Full course in Hi...
Bhupinder Rajput Sir is having 8 Years of Experience in the field of technical trainings in entire india.
NOTE : If you would like to organise Bhupinder Rajput Sir workshop in your College or University, write mail to us.
Thanks For giving Your Valuable time.
Regards,
Technical Guftgu Team

Пікірлер: 177
@contentcreator8579
@contentcreator8579 Жыл бұрын
Today I'm going to share this video on my linked In profile and tell the world how beautifully this man has explained the devops and CkA and made it easier to understand
@prabhatshivhare4595
@prabhatshivhare4595 Жыл бұрын
Only kubernetes pdhne aya tha but poora devops krna hi chalu krdiya thnks alot sir u r mindblowing teacher and great person❤️🔥
@apoorvagupta96
@apoorvagupta96 Жыл бұрын
have been learning the basics of Kubernetes through your videos, very clear explanation with simple examples from daily life. Interesting and refreshing lectures, don't seem long even if they are one hour! Your effort shines through your videos. Thank you sir!
@RakeshBitling
@RakeshBitling 2 жыл бұрын
Thanks Bhupi Sir.. Even in fever conditions also your way of teaching not changed and not in the hurry of finishing lectures. Truly amazing Sir...
@simonyanky2528
@simonyanky2528 2 жыл бұрын
helped me a lot ..specially this video...i am from bangladesh....feeling great to be the first one to comment....love you sirji...
@amshadabify
@amshadabify 2 жыл бұрын
Sir ho tau Aap jaisa... Kya mast insaan ho Aap...
@mnuman3692
@mnuman3692 4 ай бұрын
bhupinder bai , your way of teaching is amazing ..
@akshaysuryawanshi8697
@akshaysuryawanshi8697 2 жыл бұрын
congratulations sir for 350K subscribers, miles to go
@k8s.junior
@k8s.junior 2 жыл бұрын
When bhupi sir enters , the whole kubernettes cluster gets fear 🔥🔥🔥
@deepuchauhan718
@deepuchauhan718 Жыл бұрын
😂😂😂😂
@AbhishekKumar-zv3rr
@AbhishekKumar-zv3rr 2 жыл бұрын
Sir ji Bahut hi besabri se intzaar tha...
@gautamsugit1185
@gautamsugit1185 2 жыл бұрын
Hello sir, I have watched all your videos and also performed all labs and guess what I get no error. Thank you so much!
@umershaikh531
@umershaikh531 2 жыл бұрын
so basically namespaces give you isolations and you can create pods with same name in different namespaces. resource quota is basically applied over namespaces and limit-ranges are set over pod, container, pvc and in case of resource quota you can also mention pod limit configmap limit too.
@varunindrajeetanand95
@varunindrajeetanand95 2 жыл бұрын
It is great experience while Learning DevOps by Bhupinder sir ... He remove my thinking about DevOps as a hard one only for Experienced one . He made me believe that it's also capable for fresher / non tech . Thanks a lot sir from the bottom of heart. Specially for Shayaris at wrap up of video that also motivate me for follow my Writing hobbies .
@ssbiswa26
@ssbiswa26 2 жыл бұрын
Thank you Bhupender ji. Lectures are very nice. :)
@sajidnoorulla5488
@sajidnoorulla5488 Жыл бұрын
Great Teaching
@praveenkumar-star
@praveenkumar-star Жыл бұрын
Thankyou very much for this lecture
@alfastopiyush
@alfastopiyush 2 жыл бұрын
Thank you for all that you do. Your hard work doesn't go unnoticed. You're appreciated! Many Thanks Sir 🙏🏻 With Gods Grace may you get everything you wish for ❤️
@abhishekmulky8451
@abhishekmulky8451 2 жыл бұрын
you are really an awesome teacher!!! thank you so much❤️
@rohitsinha1645
@rohitsinha1645 2 жыл бұрын
Thanks!
@mohammedsamee7746
@mohammedsamee7746 2 жыл бұрын
very awesome lecture Bhupi Sir
@Its_shubhamaws
@Its_shubhamaws 5 ай бұрын
When Bhupi Sir steps into the Kubernetes cluster, even the pods start scheduling "panic" events!
@engrqamarabbas9753
@engrqamarabbas9753 2 жыл бұрын
Thank a lot 🇵🇰😊.Watching From pakistan
@zahidzia4309
@zahidzia4309 2 жыл бұрын
What a great simple way to explain things, Wah jee :) i came across this video accidently while trying to find info on namespaces and stopped here. Khush rahain sir kya burhiya video banayee hain i become your fan. Keep up the good work.
@pankajdubey5039
@pankajdubey5039 2 жыл бұрын
And I am going to prepare a proper documentation of your lecture and will share with you . A little support from my side 🙏
@lingrajbiradar4416
@lingrajbiradar4416 Жыл бұрын
Hi bro did you prepared documentation?
@1improvement28
@1improvement28 Жыл бұрын
@@lingrajbiradar4416 Yes
@lingrajbiradar4416
@lingrajbiradar4416 Жыл бұрын
@@1improvement28 can you share
@mayukhchatterjee2349
@mayukhchatterjee2349 Жыл бұрын
Yes.. Can You share?
@LogicLegendz
@LogicLegendz 2 ай бұрын
Can you share?
@mandeep259
@mandeep259 2 жыл бұрын
Awesome as usual!! 🙏🙏🙏
@addhyasumitra90
@addhyasumitra90 Жыл бұрын
thank you so much sir for the tutorial :)
@sandipsahu7275
@sandipsahu7275 2 жыл бұрын
Really great effort sir 👍
@manojkumar-le2ec
@manojkumar-le2ec 3 ай бұрын
bahut badhiya sir ji every practical is very well explained ghazals - m tujhe dekhta hun baar baar dekhta hun tujhe sochta hun baar baar sochta hun kru to or kru kya tu hi bata de isi bahane mujhse baat krle..........................
@aaisalishaikh1252
@aaisalishaikh1252 2 жыл бұрын
Respect for you Sirji
@jankipatel141
@jankipatel141 2 жыл бұрын
You are great sir thank you so much 😊
@vasuawasthi1656
@vasuawasthi1656 Жыл бұрын
Sir mera ho jae apne salary ka % contribute kruga.. gurudakshina
@jayeshmehta3067
@jayeshmehta3067 9 ай бұрын
1:13 and 1:16 about limit = req concept.
@rahulagrawal646
@rahulagrawal646 2 жыл бұрын
mera to 43$ ka bill aws ne wave off kr diya support se , thank you sir
@TiwariSaurabh
@TiwariSaurabh Жыл бұрын
Thank you sir
@anilkumar.2965
@anilkumar.2965 2 жыл бұрын
Thank you so much you made me to learn Devops..😊 Very interesting class almost all Devops videos i have been watched but no one has explained like you ..Really hatsoff to you sir.. 👌🙏🙏
@rohanjain8088
@rohanjain8088 2 жыл бұрын
Thanks a lot
@basitbasit1913
@basitbasit1913 2 жыл бұрын
Hii sir My all services are done with your video but cloud watch is remaining. Can you make a video on cloud watch
@basitbasit1913
@basitbasit1913 2 жыл бұрын
Please sir
@mdjawed1063
@mdjawed1063 2 жыл бұрын
Shared it on Linkedin!!
@faisalprof7132
@faisalprof7132 2 жыл бұрын
What a way of explaining the topic...ever great teacher and May GOd bless u more Sir
@technicalfaisals
@technicalfaisals 3 ай бұрын
Super
@saifurrahman1691
@saifurrahman1691 2 жыл бұрын
Bangladesh se pad raha hun sir..yeha dhabe phe bhi same rules hain jo appne bola
@VinayKumar-vh2ho
@VinayKumar-vh2ho Жыл бұрын
Aapka shahee paneer favourite hai na sir🙄🙄. If I'm wrong then reply 😃
@nitink8148
@nitink8148 2 жыл бұрын
Sir please cover prometheus, grafana and Thanos as well.
@deepaksinghrajput5001
@deepaksinghrajput5001 2 жыл бұрын
hi, sir your videos are really helpful after completion of this k8s series pls start teraform as it's in high demand. thanks
@Amityt07
@Amityt07 2 жыл бұрын
Thanks a lot and always for wonderful lecture and the way you clear the things.. Sir can you please cover backup process on K8s.. i think mostly used app is Velero..please take time and cover this as well... highly appreciate your efforts Sir..God Bless you
@pankajdubey5039
@pankajdubey5039 2 жыл бұрын
Very nice sir , I am highly thankful to you for this kubernetes series as well as its my request please provide the helm in detail
@vipinsoni3882
@vipinsoni3882 Жыл бұрын
Thank u
@Codeing-di3yf
@Codeing-di3yf 3 ай бұрын
🙏🙏♥♥
@vikastiwari6478
@vikastiwari6478 2 жыл бұрын
Waiting for special lecture thanks sir ji
@mufaazdesigner9182
@mufaazdesigner9182 11 ай бұрын
Very Good Sir But in the Mid I was like, sir is getting emotional while studying (Just Kidding)
@mdjawed1063
@mdjawed1063 2 жыл бұрын
I was bit late to comment so looks like I'm 27th here😊 Thank you Bhupi Sir👍
@brijeshmishra4039
@brijeshmishra4039 2 жыл бұрын
Thanks sir 🙏
@vampire4138
@vampire4138 2 жыл бұрын
Sir networking ki series start karo na plzz jisme complete ccna coverup ho jiye plzz 🙏🏿 request sir
@Kahanikiduniya5
@Kahanikiduniya5 2 жыл бұрын
How many times we can waive off bill??
@abhijitherkal4385
@abhijitherkal4385 2 ай бұрын
one doubt i had .. what if we mention request value more than 1 and we dont define limit value ..in that case what will be the value of limit ???
@gouravmaitra8147
@gouravmaitra8147 2 ай бұрын
Bhupi sir, apne lab main limit define nehi kiye to output of limit aya '1'. lekin apne theory main bataya output ayega '0' unlimited. to kya hamesha jo bhi request karunga usse zyda ek value limit main ayega ?
@sherazhussainmughal2784
@sherazhussainmughal2784 Жыл бұрын
Can you please provide me an example of Kubernetes on-premises(Private Data Centre), for the real-time Production server examples How many workers and master node are minimum required for High availability and HPA
@neemishapatel6843
@neemishapatel6843 8 ай бұрын
Very nice lecture! I appreciate your hard work, effort and time for creating this lectures only for us to study free of cost and always motivating to study well and get job. Thanks Sir..
@vijayanandjeeva2163
@vijayanandjeeva2163 7 ай бұрын
Hi sir, please create a video on statefulSets , ingress and secrets from aws manager
@adityakarale6621
@adityakarale6621 2 жыл бұрын
namespace seems to be same like workspace concept which we use in terraform
@alokdumbre
@alokdumbre Жыл бұрын
Hi guys... need to know the relation between resourcequota manifest and pod deployment manifest which we run after it. how pod deployment knows we need to take resouces from resoucequota which was executed in previous manifest
@universe4d2002
@universe4d2002 Жыл бұрын
you are geneous sir
@ashwineeyadav8380
@ashwineeyadav8380 2 жыл бұрын
sir why we use -o wide in linux and kubernetes please reply
@ashishtiwary4381
@ashishtiwary4381 2 жыл бұрын
stands for option o and wide means- Details view .
@nehamahajan3129
@nehamahajan3129 Жыл бұрын
Thank you so much Sir for such awesome teaching.
@ashishmalik9055
@ashishmalik9055 Жыл бұрын
how do we get to know the cpu and memory limit...? does it same we get from the instance while creating from AWS..?
@shashankbisen8043
@shashankbisen8043 2 жыл бұрын
Sir ji fresher ke lie job ni hai
@anujpratap5213
@anujpratap5213 6 ай бұрын
Thank you so much for this great content
@Decipline_Life1
@Decipline_Life1 11 ай бұрын
namo nama guruji🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@eeshwarsinghbhati4227
@eeshwarsinghbhati4227 Жыл бұрын
error: unknown command "current-context" for "kubectl" error: you must specify a non-empty context name or --current please let me know how can we resolve this?
@amoldevatale
@amoldevatale 2 жыл бұрын
thank you very much sir
@princejohn4152
@princejohn4152 2 жыл бұрын
Thanks a lot Bhupi Sir. Even I am more expereience and older than you, I learned the Docker & kubernetes from you.
@ayushijindal4090
@ayushijindal4090 7 ай бұрын
Thank you so much sir for make my career
@guru407
@guru407 7 ай бұрын
44:30 yha pe bakchodi ki kya jarurat thi 😅😅😅😅
@niharikadixit5723
@niharikadixit5723 Жыл бұрын
Thank you so much sir ji
@rohanrustagi7857
@rohanrustagi7857 Жыл бұрын
sir aapki mehnat bekaar nhi jane denge hum
@poojasrivastava9118
@poojasrivastava9118 2 жыл бұрын
Perfect expalin
@prateekjaiswal9245
@prateekjaiswal9245 2 жыл бұрын
Awesome tutorial...
@rohitsinha1645
@rohitsinha1645 2 жыл бұрын
bahut badhiya sir
@kamilmansoor9193
@kamilmansoor9193 2 жыл бұрын
Many Thanks Sir
@superakash2007
@superakash2007 2 жыл бұрын
Get well soon sir.. you are doing a wonderful job👍👍👍👍👍👍👍👍👍👍👍👍
@googlecloud1772
@googlecloud1772 2 жыл бұрын
Thank you, Sir once again. I am working as FULL stack node JS developer following you last 2 years.
@qasimjaved9394
@qasimjaved9394 2 жыл бұрын
Sir your videos are really awesome But can you do one more favor, your voice is much clear when you do lab as compared to lecture, can you please use same mic system on lecture as well.
@sabamirza5824
@sabamirza5824 2 жыл бұрын
Bhupinder sir namaste. Aaj muje devops ka offer aagaya hai. I got the job finally. Isme bohot bada hath bhupinder sir aapka Hai. Aapki padhayi to ek number hai hi lekin aapke wo shabd jisse itna hausla milta hai k kya batau. Un hauslo ke wajese hi Maine kabhi give up nahi Kiya. Devops ko asan aapne banaya. Thank u so much sir thank u so much. Mai zarur is channel ko regularly donation dugi insha Allah.
@TechnicalGuftgu
@TechnicalGuftgu 2 жыл бұрын
Congratulations Saba.Allah aapko kaamyabi ataa farmaaye.hamare channel aur apne job offer ke baarey me Linkedin par bhi post kare,taaki baaki log bhi hamare channel se faayda uthaa sake.Duaa Me Yaad Rakhiyega.
@himanshuamin9835
@himanshuamin9835 Жыл бұрын
hello ,could you please tell me that they are asking devops certificate for the job? i m fresher and completed bhupinder sir's devops series
@dkaur7799
@dkaur7799 Жыл бұрын
🙏 thank you
@AjayKumar-vu2bb
@AjayKumar-vu2bb 2 жыл бұрын
Jai ho guru ji!!
@prasoonprit6692
@prasoonprit6692 2 жыл бұрын
sir ji terraform ka lecture kab aa rha hai youtube pe ?
@bhaskarpatel1463
@bhaskarpatel1463 2 жыл бұрын
good
@praveenkumar-star
@praveenkumar-star Жыл бұрын
Bahut hi zabardast videos hai ...was hai apni roshni ham par aati rahe sirji .....bhagwan aapki mannate Puri kare 😊
@geekysunny01
@geekysunny01 Жыл бұрын
Yh bich me sad music kyu laga diye
@tarungarg8
@tarungarg8 2 жыл бұрын
Once Again..Our all time favourite hero come back...thanku Sir..!!!!
@jiaulshaikh6356
@jiaulshaikh6356 2 жыл бұрын
My doubt clear now regarding namespace , Thanks you sir👍
@aniljoshi3553
@aniljoshi3553 2 жыл бұрын
Thanku Bhupinder sir Awesome lecture
@abdulmuqtadeer7085
@abdulmuqtadeer7085 2 жыл бұрын
You are just a Gem, not everyone are blessed with the talent and capability of holding a right nerve..🙏🙏
@srchoudharyy
@srchoudharyy 2 жыл бұрын
Sir, We want separate lecture on your love story. [in brief]
@Amityt07
@Amityt07 2 жыл бұрын
Also..can you cover some of K8S part on Azure.. AKS...??
@gibrankhan8232
@gibrankhan8232 2 жыл бұрын
Thanks alot Sir, this helped me understand k8s namespace with ease.
@4ageyoutuber503
@4ageyoutuber503 Жыл бұрын
💥💥💥💥👌👌
@idrissafi7091
@idrissafi7091 2 жыл бұрын
Great Teacher, watching from Afghanistan
@rakeshpaliwal408
@rakeshpaliwal408 2 жыл бұрын
After kuberneties please start terraform with high demand
@cheekystatus
@cheekystatus 2 жыл бұрын
It was a very nice journey of Devops with differrent tools. Thank you very much for all your efforts and support.
@InnovateCloudAcademy
@InnovateCloudAcademy 2 жыл бұрын
Dhanyawad sir , Inteha ho gyi , intejar kiiiii ... Aayi na kuch khabar , kubernatics kiiiii ....
@mustangpolygraph513
@mustangpolygraph513 2 жыл бұрын
waah miya waah!
Kubernetes Ingress Explained: From Beginner to Expert
12:26
DevOps Pro
Рет қаралды 34 М.