Kubernetes Horizontal Pod Autoscaling-Hindi/Urdu | Lec-55 | Complete Kubernetes Tutorials
Вставка
- Опубліковано 10 гру 2021
- LEC 55 NOTES #kubernetes
====================
Install Docker
$ sudo apt update && apt -y install docker.io
Install kubectl
$ curl -LO storage.googleapis.com/kubern... -s storage.googleapis.com/kubern... && chmod +x ./kubectl && sudo mv ./kubectl /usr/local/bin/kubectl
Install Minikube
$ curl -Lo minikube storage.googleapis.com/miniku... && chmod +x minikube && sudo mv minikube /usr/local/bin/
Start Minikube
$ apt install conntrack
$ minikube start --vm-driver=none
$ minikube status
==============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"
=================================MEMDEFAULT.YML========================================
apiVersion: v1
kind: LimitRange
metadata:
name: mem-min-max-demo-lr
spec:
limits:
- max:
memory: 1Gi
min:
memory: 500Mi
type: Container
==========
apiVersion: v1
kind: Pod
metadata:
name: constraints-mem-demo
spec:
containers:
- name: constraints-mem-demo-ctr
image: nginx
resources:
limits:
memory: "800Mi"
requests:
memory: "600Mi"
- If request is not specified & limit is given, then request = limit
=================
$ wget -O metricserver.yml github.com/kubernetes-sigs/me...
--------------
kind: Deployment
apiVersion: apps/v1
metadata:
name: mydeploy
spec:
replicas: 1
selector:
matchLabels:
name: deployment
template:
metadata:
name: testpod8
labels:
name: deployment
spec:
containers:
- name: c00
image: httpd
ports:
- containerPort: 80
resources:
limits:
cpu: 500m
requests:
cpu: 200m
---------------------
$ kubectl autoscale deployment mydeploy --cpu-percent=20 --min=1 --max=10
--------------
Now you can Donate us via Paypal or Google Pay
Paypal link : www.paypal.me/technicalguftgu
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...
Cloud computing tutorials For beginners Link : • Cloud Computing 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...
This is the best channel for AWS Tutorials, Microsoft Azure tutorials, 2G,3G, LTE, CCNA, Cloud computing and for others topics related to cloud and computer networking. Technical Guftgu is the only platform, which provides you entire training on white board, so that you feels that, you are taking real time training.
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.
For More Information:
Please write us at : technicalguftgu99@gmail.com
Connect with us on facebook page-Technical Guftgu for his upcoming 5 Days workshops on cloud in india and Nepal. If you would like to donate and give support to our Channel, write mail to us.
Thanks For giving Your Valuable time.
Regards,
Technical Guftgu Team - Наука та технологія
seeing the pods getting auto-scaled through HPA[horizontal pod auto-scaler], it was the moment I was waiting for since the begining of the kubernetes. thank you so much bhupinder sir, you had made kubernetes a halwa for all of us. keep helping and keep growing.
In my whole life , I ever got one of the best sir, love you sir.❤
Thanks a lot for all the help. One request if you can make a video on the live devops project. It would be nice
Thanks you so much Sir. i have no words for your teaching skills. I have tried to learn kubernetes from many reputed channels. But i never understood it very clearly.
Now i am so much of confident on k8s. Because of you.
Muje pta tha sir aap aane wale hai.. Kal ki apki sukoon wali vedio se 😁
God bless 🙏💐
Dil kush kar diya Sir aaj to aapne is video me bas suna tha sutoscalling aaj dekh bhi liya. Aap hamesh swasth rhe, kush rahe.
_your're super educated and generous teacher...love you sir...keep teaching..._
Thanks a lot for your efforts to make us confident in Devops.
Thanks!
Hurrah was desperately waiting for the video.
Thanks alot sir
Saying thank you is not enough Truly Amazing very rare to rare people who share their knowledge and that too free of cost.
💯💯
Lecture 54 k labs just abhi complete kiyeh aur ek aur bomb drop kardi appneh ...... wah maja agaya.... dil seh awaj aa rahi thi aj ayega ayega lecture jarurr ayega . {Thanks Sir}
Sir your teaching skill is never ever beatable by anyone.
Appreciate your work! Really great series of K8S!
Thank you so much Sir.
Very nice ! This is now crystal clear.
Great , Thanks a lot .Watching from Pakistan😊🇵🇰
Thank you so much sir for such a detailed video on autoscaling, this is the first time that someone teaching k8 in such manner that too at free of cost.
❤❤❤
Thanks a lot, amazed with yet another video on Kubernetes.. you are doing a great job...
Awesome 👌 Thanks so much Bhupi Sir 🙏
Done.. thanks alot TG. Skilled up myself with one more technology in my career.
Thanks, Sir Ji... you are the great mentor
_God bless you...May Universe bless you with a lot of abundance of knowlege and Prosperity..._
Thanks you for clarifying concepts🙏🙏
Great journey of skilling up🎉🎉
Hello sir thank you very much for azure videos I got job( solution architect) after seeing your video's in 2021 .tq for everything . 🤗
Greate sir.
you had cleared such Important concept in so easy way, hatssoff to you
I read you all lecture and it's really very nice.👌👌
perfect defination of sukoon ... although lectures are too understanble. huge respect SIr
PHENOMENAL 😍
Sir, Really have no words to say you thanks... you will be always in my prayers
where to find metricserver.yml file??
Dekho ye jinda h
Lov u sir ji
You are a great teacher ❤
maine toh sbse phle bina video dkhe hi video ko like krdiya second thng jo kiya k lecture sunne se phle shayari suni
Much informative...and nice shayei😊👍
Thank you so much sir for your Incredible teaching.
hello sir , you are doing a great job ..........
Thank you sir you are a great sir ....
Awesome labs!!! Thanks a lot Bhupinder bhai.
You're dead on: Money can't buy sukoon else suicides and depression would have been alien in affluent western societies, contrarily it's rampant and epidemic!!
1st view Thank you 10000000 times to making this nice video
Dedicated to sir.... Mere baad nahi ayega tmhe pdhne ka aisa maza dost..
Tm logon se kahte firoge mjhe pdhao uski trah❤❤❤❤❤
Thank you sir, for upload
Thank you very much Bhupinder, your teaching technique is outstanding. Please help to make video on Kubernetes Helm Chart !!
Ye smile lifetime rakhnaa sir ....💖🔝💯😘
You are great sir ji
Mera to ye subject bhi nahi h par phir bhi aapke saare videos dekhe h
Great Videos.
Best best the best🔥
Thanks a lot Sir!
Love u Sir !!
please complete the all pending Series
Will watch today
Love u sir🙂
Very informative video sir
First of all i thank you for your lecture. It is remarkable. ILM (Knowledge ) baatne say aur bhi badhtha hai. Bhupinder ji can you please provide one more lecture on kubernetes user management. Assume i have 2 namespace in 1 kubernetes cluster of which 1 is dev and another 1 is production. i want developer to have full access in development but not in the production or restricted access in production. These are real time issues.
Thanks in advance for your lectures.
salute sir,,,,,,,,,
Great sir
Thank you so much sir
Thanks a lot 🌹🙏
Thank you so much sir I am your pro die-hard students . sir maine aapka har video dekha hu or mujhe bahut help mila hai ..sirf aapke video dekh ke me AWS Certified hua hu.
currently I am working in WIPRO bangalore as AWS Admin. sir i am requesting to you please ek video Vulnerabilities me bhi uplaod kijiye .pure youtube me Vulnerabilities ka koi bhi video aisa nahi hai jo acche seexplain kiya ho.. sir please please ek video Vulnerabilities ME JITNA JALDI HO SAKE..OR KB ARTICLE kya hota hai kaise update karte hai windows server me fix issue.
please sir. sirf ek video mujhe or mere project ko bahut help hoga ..
Thank you so much once again , KOTI KOTI AAPKO PRANAAM..
Regards
Diwakar (Bangalore)
It was a very nice session sir.
Please make a similar session on vertical pod auto scaling.
Very helpful video
AAP AYE BAHAAR AAYI..😘
Thank for the informative lecture.
where to find metricserver.yml file??
Please make another course video
Thanks great video
Love you sir
Love you sir ji
Thanks Sir❤❤
Amazing
Thanks sir.
Urdu zubaan me devops Krane wale bhupinder sir..thanks for making me a devops engineer..ap hme bhul jayen hme koi gham nhii..jis din hm apko bhul gy smjh lijiye is duniya me ham nahii.
Thanku sir 🙏
Excellent explanation. Now i m master in kubernetes.
where to find metricserver.yml file??
Thanks a lot
Perfect
Thank you so much. Your way of teaching is very good and very easily understandable. Could you please also upload some video related to ISTIO Service Mesh?
If we did not mention limit then k8s will assign all available cpu/memory to that pod... To assign default limit range to pods we can create LimitRange resource which will restrict default limit for pods in that perticular namespace.
thankuu sir ..
Very good video
5 comment sir nice to meet u
thank you sir
Thank You
Thanx sir😘😘😘
Ultimate
Sir I am learning AWS from your videos they are to good to learn can you pls make some videos on JIRA SERVICE MANAGEMENT TOOL......
Thank you
Great
thank you so much sir :)
where to find metricserver.yml file??
Shagird bangaye hum aapke..
Sir please make a video how to set up a live kubernetes enviornments. and sir please start open shift series. AND thank you thank you very much for this kubernetes series... I love yo sir. May god fullfil all your dreams.
Lov you 3000
Sir waiting for cka tutorial using gcp cloud 🙌🙌
Waiting for your complete CKA course with the help of google cloud
Thank you so much for the informative video sir, but the manifest file in the end that is created should have cpu request atleast 500m or more as a default range for cpu but less than limit correct? Please reply, big fan :)
hi sir ji thanks for nice videos i have one request please do videos on terraform and continuous monitoring tools
To install stress in your K8s pod..
apt-get install stress
run stress
stress --cpu 10 --timeout 600
and watch your K8s cluster scale with HPA .. 🙂
Im getting /20% in targets while watching the avg cpu.. what could be causing it? Thanks
❤
Sir pls kuch projects bhi include kr dijiye devops and Aws based
Sir, in real job scenario, do we have to purchase certificates for metericserver? or can we still use inscure_tls?
Sir please make video on cloud watch
Sir Please make video on LOG4j vulnerability with demo.