Persistent Volume and LivenessProbe in Kubernetes-Hindi/Urdu | Lec-52 | Complete Devops Tutorials
HTML-код
- Опубликовано: 11 сен 2024
- LEC-52-Kubernetes complete tutorials.
====================
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
=================================
PERSISTENT VOLUME
================================
apiVersion: v1
kind: PersistentVolume
metadata:
name: myebsvol
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Recycle
awsElasticBlockStore:
volumeID: # YAHAN APNI EBS VOLUME ID DAALO
fsType: ext4
============
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: myebsvolclaim
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
==================================================================================================================
apiVersion: apps/v1
kind: Deployment
metadata:
name: pvdeploy
spec:
replicas: 1
selector: # tells the controller which pods to watch/belong to
matchLabels:
app: mypv
template:
metadata:
labels:
app: mypv
spec:
containers:
- name: shell
image: centos
command: ["bin/bash", "-c", "sleep 10000"]
volumeMounts:
- name: mypd
mountPath: "/tmp/persistent"
volumes:
- name: mypd
persistentVolumeClaim:
claimName: myebsvolclaim
==========================================================================================================================
HEALTHCHECK/LIVENESSPROBE
==========================================================================================================================
apiVersion: v1
kind: Pod
metadata:
labels:
test: liveness
name: mylivenessprobe
spec:
containers:
- name: liveness
image: ubuntu
args:
- /bin/sh
- -c
- touch /tmp/healthy; sleep 1000
livenessProbe:
exec:
command:
- cat
- /tmp/healthy
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 30
----------------------------------------
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...
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 - Наука
Without seeing the content I liked the video ... that’s how we trust u sir
Exactly
U r 👍
To all viewers
Never skip ads on his videos, Least thing we could do
Mery pyare Ustadji ap ka andaz buhut dil fareb hai . aam admi ki zaban mein ap samjhaty hein tu dil mein uttar jata hai , aur ap ki Urdu aur tahzeeb kable sataish hai , ap ka shagird.
Shukriya haulsa afzaai ke liye.aapki urdu bhi mashallah lajawaab hai.hum sab ek hi hai,sarhade aur faasle hame aur hamari Zubaan ko alag Nahi kar sakte kabhi.
@@TechnicalGuftgu Pyare Ustadji Assallam o Aliqum, Ye ap ki hi zara nawazi hai, buhut shukria mujh haqeer ki ap ne hosla afzai ki, ap buhut azeem kam karrahy hein aur meri dili dua hai Allah ap ko sehat tandrosti khusion aasaniyon mein rakhay ameen,aur ap nay meray dil ki baat keh di, ye muhabat ki shahistegi ki ilm ki zaban jisko ap ne aik munfarid andaz mein peesh kiya hai yahan Technical Guftgu kay zariya , buhut door tak is khidmat ka koi sani koi nazeer nahi milti, Ji bilkul zaban ne hume aik gharey ristay mein pro diya hai.dil aik hein hamesha se, wa aliqum assallam Ustadji.Faqat ap ka shagird.
Kya baat hai sir... 4 din me do lecture.. Itni khushi 😭😁👌
God bless 🙏
Is learning soo much easy, never saw a teacher like you. Thank you soo much Bhupinder Sir -From Karnataka
Sir, you are awesome. Can you please cover these topics as well :-
1. Custom resource definition (CRD)
2. CA (Certificate Authority)
3. RBAC (Role based access control)
You will be lived in more than crore's of peoples dua. You are doing good job.
addicted to your valuable content sirrrrrrrrrrrrrrr
Tahe dil se sukriya sir
Jo aapne itni jaldi video upload ker diya
May God bless you
Thank you Sir
Sir, your content is never unnecessary; in fact, it's priceless for us when it comes to cracking interviews.
Cracked my CKA certification...
Hello sir, no one can raise the question on your teaching because the way you teaches is as simple as to drink the water...you are so matured by moral values really I appreciate you lot..plz keep it up sir because it will take you to some other level....
Thanks a lot for that. Watching from Pakistan
Apka video dekhne ke baad hi storage topic mere concept bana....Thanks a lot
Thank you sir g for providing best content on youtube for free of cost I just really want to learn more or more from you with so much ease
Hands down to Bhupinder sir. Salute from Canada.
Back to back... Bhupinder Sir.. you are the best 🙏🙏👌👌
In case of ebs, pv can be claimed by only one node. This is a limitation since ebs can never be mounted to multiple nodes in aws. That is why, aws only supports readWriteOnce and readOnlyOnce access nodes only. However, azure and gcp do support readWriteMany access modes as well. I experienced this while working on one of my industry project
did you tried using efs???
can u plz give some interview tips for freshers in devops
God bless u sir .. may u live long ❤️
Sir, you are excellent, superb
Recalls me about my teachers that i had in my childhood but never had that kind of teachers after that except you
Thank you sir for these lectures.. you are a gem!
Bina dkhe hi bhai ka face dkh kr hi maine video like krdiya h
Sir, you are wonderful. Ap Jabardast ho sir. Itni mehnat karte ho aap hmare liye. Hatts off to you sir.
Thank u sir for coming first
hum sirf ache he, but tum whole world par ache ho, you are the one peace in this world. we never forgot sir
Sir please don't stop this series
best one , i dont know hindi but still learning from your videos
Very very thanks sir ❤️❤️❤️❤️
superb sir , maza aa gaya . your teaching method is amazing . god bless you
You are doing great Job Sir. May God bless u with lot of success and happiness
great videos by Bhupinder Sir,very informative
Sir, thank you so much for the devops series. Please complete TERRAFORM series as well. It would be really helpful.
Thank you so much Sir.
1st Like & Comment
Awesome sir
thank you sir this amazing lecture it was really help me
Thanks sir for providing such a content to us
you deliver the lecture in a very very nice way and also free.
Thank you very much for your playlist on gcp, I cleared my gcp ace exam. Without you it would have been very difficult. Thank you once again! 🙏
Bahut shuqriyah bahut maharbaani huxoor aap der aaye durust aaye ......dua me yad rakhiyega !! Bas aap ab projects uoload kar dijiye
Bhupindar sir,
Aapke teaching se bahut saari concepts clear hui hai hamaari.
Thank you so much.
Ek doubt : PV ke sath storage class ko use nahi kiya.. uska thoda confusion hai... plz, use aap thik se samjhayein.
god bless you🙏
I went through 3 videos on PV and PVC before coming here and I stopped after this , because I understood PV and PVC with only THIS video and it was enough.
Thankyou soo much sir , u are the best teacher !!!!❤❣
Thank you, Sir..Excellent I am watching your K8s series right from start. Very much satisfied
Thankyou Sir ...love u
Great explained.....Please add python automation series post this kubernetes sir...Doing great job.. Thank you
Sir , u r great .
I have one request for you pleaseeeee make a video on Active directory in detail.
sir wanted full devops proect. Jo interview pe explain kr ske. company pe jese kaam hta h. aur kitne lectures baaki hai?
Just prepare and make the concepts of kubernetes, it will be more than enough than projects
first view
Sir just a request. It would be great if you could let us know towards the end of a lecture about what would be the next upcoming topic or lecture.
Amazing lecture
hope you will read this.. sir in theory you are saying that PV will be attached with only one EC2 at a time so if the POD will create in another node (which is another EC2 ) so how it will access the PV
Thank you sir 🙏🙏
Planning to revise this series again
Sir kubernetes ke baad aap please terraform ka tutorial Bana sub ko bohot helpful hoga
Excellent Explanation!!!👍👍👍
Sir, your all videos are very great , please make a video on cloud watch
Your are a good trainer
I appreciate your efforts
Excellent Teacher, Thank you for your great work.
Sir Docker ka classe ka video on public and private network access
2nd 👍
Thanks for your effort
I have a question
Sir kya kubernates ek pura alag tool hai devops mein???
Sir please make video on eigrp osf hsrp please do a favour for us bcs I'm new in networking i hope you will
Made me successful by your knowledge
Good teaching!!! Would you please cover storage class, readiness prob also.
Sir aap sabhi tools kisi last main summary video bhi banaya kijiye please aapke lectures best hai but bahut time periods ke hote hai jisse hum aage badte hai to piche ka bhool jate hai aur jab unko revisit karte hai to bahut time lagta hai aur video dekhne ka man nahi karta so please sabhi tools ka ek summary video bhi banaya kare it's my humble request 🙏🙏🙏
Please make video on ingress
yor are great sir..
Good Evening sir
watched all DevOps series and aws series helped lots thanks for this, can you please make video on RBAC (Role based access control)
Love you Sir
love you sir..
sir python ke lecture aap dene wale the
Nice and easy to understand
Correction @1:15:07 exited from container
You are the best !!!
ekdam Perfect
Thank you so much sir ji
superb sir
Sir please make a video on cloud formation template
Hello Bhupinder Sir. One Query, You said ebs volume can be attached to only 1 EC2 Instance/ Node. Lets say we have multiple worker nodes and we want to share data in our PV
across all pods in all these nodes. Then will it be possible. If it is not possible, some of the pods will no have no data access and there will be no sync. Please help. I am getting confused on this point.
All EC instances which are nodes needs to provision same disk otherwise other nodes won't be able to provide. that is my 2 cent.
hey bro ! I also stuck with same problem .Did you get solution?
I was also confused then i read someone's comment here above which cleared my confusion and it states that ebs is attached to master only and all the nodes/workers)ec2-instances claim pv from master.
Sir, EBS volume to cluster me kisi 1 hi node se connect hoti hai jo ki same AZ me instance rahta hai. to baki saare nodes kaise us volume ko use karenge....??
Fantastic
Thank you so much sir...Its a request to make a video on API..so that we understand about API. Many times API word uses but dont have idea about it..so pls explain.
u r awesome
Thanks you sir..
please create a video on how to setup k8s with GCP.
Thank you🙏
Amezing !!!!!!!
Thanks Sir , chaliye achi baat hai :)
well explained Sir
Many thanks Bhupii sir, this thanks is very small word against your efforts ... Honoured to get this learning from you.
Humble request you to include below objects as well in your videos.
1. Buildconfig
2 .imageStream & imageStreamTag
3. DeploymentConfig
4. DockerImage
5. ClusterRoleBinding, ClusterRole
6. ServiceAccount
Appriciate your sincere efforts.
It is a really great video.
Is it possible for you to create an Audio script of what you are speaking?
Very helpful lecture...
Thankuuu sir ....
❤❤👍
how much would you take to complete this series can you tell us?like at least for kubernetes ?
best training in youtube
I like your wall Sir...
awesome lecture..