ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Kubernetes Networking- Hindi/Urdu | Lec-51 | Kubernetes Services, Nodeport and Volumes | DevOps
ฝัง
- เผยแพร่เมื่อ 18 พ.ย. 2021
- Lec-51 Complete Overview of Kubernetes Networking and Services.Kubernetes Services Types explained: ClusterIP vs NodePort vs LoadBalancer vs Headless Service vs Multi-Port.volumes in kubernetes like emptydir and hostpath.
==============================================
LEC-51 DEVOPS TECHNICAL GUFTGU NOTES
====================
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
=================================
KUBERNETES NETWORKING
=================================
kind: Pod
apiVersion: v1
metadata:
name: testpod
spec:
containers:
- name: c00
image: ubuntu
command: ["/bin/bash", "-c", "while true; do echo Hello-Bhupinder; sleep 5 ; done"]
- name: c01
image: httpd
ports:
- containerPort: 80
================
kind: Deployment
apiVersion: apps/v1
metadata:
name: mydeployments
spec:
replicas: 1
selector: # tells the controller which pods to watch/belong to
matchLabels:
name: deployment
template:
metadata:
name: testpod1
labels:
name: deployment
spec:
containers:
- name: c00
image: httpd
ports:
- containerPort: 80
====================
kind: Service # Defines to create Service type Object
apiVersion: v1
metadata:
name: demoservice
spec:
ports:
- port: 80 # Containers port exposed
targetPort: 80 # Pods port
selector:
name: deployment # Apply this service to any pods which has the specific label
type: ClusterIP # Specifies the service type i.e ClusterIP or NodePort
$ kubectl get svc
===========================
volume labs
===========================
apiVersion: v1
kind: Pod
metadata:
name: myvolemptydir
spec:
containers:
- name: c1
image: centos
command: ["/bin/bash", "-c", "sleep 15000"]
volumeMounts: # Mount definition inside the container
- name: xchange
mountPath: "/tmp/xchange"
- name: c2
image: centos
command: ["/bin/bash", "-c", "sleep 10000"]
volumeMounts:
- name: xchange
mountPath: "/tmp/data"
volumes:
- name: xchange
emptyDir: {}
========================
HOST PATH
========================
apiVersion: v1
kind: Pod
metadata:
name: myvolhostpath
spec:
containers:
- image: centos
name: testc
command: ["/bin/bash", "-c", "sleep 15000"]
volumeMounts:
- mountPath: /tmp/hostpath
name: testvolume
volumes:
- name: testvolume
hostPath:
path: /tmp/data
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...
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
Just opened TH-cam app and saw notification of technical guftgu.. Can't describe myself.. how much happiness I felt..👌👌
Bahut badhiya Bhupender, 12 saal devops me kaam karne ke baad pehli baar aisi video dekhi, will share this to my juniors. Good job
i never comment on youtube but coz of this man i did it. what a man yr no words for his efforts. hatts off sir.
I never seen anyone in my entire professional and college career someone like Bhupi Sir.
He teaches with smooth and really words are also not enough for Bhupi Sir.
I am from Pune.. Previously I wasted my money in training institutes now realizing after listening sir lectures.
In future for sure I will start donating as Guru-Dakshina and will share across my groups too.
Sir, please eagerly wait for GCP series.
bhupinder sir is one man army for devops leaners all the vidos are available with cleaster clear explanation. Thankyou so much sir for sharing such a great content not just thankyou is enough for such great work what you give to world it will return you the same.
wa wa sir main to aapke shayri ka hi wait kar raha tha kab ye video 2 hr 6 min tak jayega...kya shayri hai wa wa aap to hamari life banakar hi chodoge....shayri suna suna kar ...kubernetes to bahut badiya pada rahe ho....Thank u ❤❤
I have seen many teacher in college or youtube but I have never seen a teacher
like you..
Such a gifted teacher you are! Even if you do not have millions of views currently, I'm sure one day people will come searching for your videos for sure. Your efforts will be rewarded eventually!
gods gifted for us
Sri Guredev ke charno me shastang pranam...🙏🙏🙏🙏....10+ yrs Exp Guy from BLR, i am learning alot from your lectures which will help me in my upcomming interviews.
Best lecture on TH-cam for Kubernetes!!
Another imcomparable lecture but that last line of the sher , it was so deep. :)
Respected sir,
I inspire the way of your teaching Great effort. Keep it up plz. Love 💕 from Pakistan 🇵🇰 my all the best wishes with u
Oooffff kya share bola aapne ... Sabhi k dil ko chu liya hoga...
Wo kyu na ruthta mene bhi to khata ki thi..
Bahut khayal rakha tha ,bahut wafa ki thi..
Manaane Ruthne k khel me HUM, bichad jayenge socha nahi tha...
These 2 hours of lecture sir included very imp concepts. hats off
Wah kya Bahetreen Andaze se aapne padhaee aur sikhaee mere paas alfaaz ki kami hai aapke tareef ki.AAP Dil se padha the aur sikhataen hain Kamaal aur Lajawaab ka Talafuzh.Paidaishi urdu bolne walon ko bhi sharam aati hai.
Wah Bhupinder Ji Wah
Allah (SWT) aapko kamiyabe daen Ameen.
Again successfully come back for deliver speechless knowledge for India's future
Thank you sir so much
God bless you
Salute for this one.
Hiren parghi
Tier 3 tech engineer- A web hosting company (USA)
This lecture was awesome.
I am from Pakistan. You are a great person. and great trainer.
Wow thank you sir ... just waked up and so ur notification ... without seeing video I liked the video
@bhupendar sir this is the first time I'm commenting on anyone's video you are a such gem. I can not explain in words how much I learn from you I really appreciate your hard work, sir.
Nowhere I find so much deep explaining, Even in a paid institute. Thank you so much for helping us in need. 🙌
you are just an awesome teacher bro... I always try watch your video till the end...lots of blessings!!!!! keep shining!!!!!!!!
Hats off to you Bhoopinder, you have amazing teaching skills! You always some example to explain the concept or any english/technical word.
Sir ji. Ek hi dil hai kitni bar jitoge.Apki coaching mashallah or shayri subhanallah.
Technical guftgu is the best channel ever seen on youtube
Thank you Bhupinder Sir, watching all your videos from USA. You are a career changer thanks again.
Bhupinder bhai, many thanks. My K8s networking concepts got cleared. liked your khuddari wali shayari 😊, May Almighty bless you with all happiness
Very nice subh subh good news
Inteha ho gayi intejar ki .......
Hujur aate aate badi der kr di ...
Thanks for the k8s new video
waao sir thanks for this amazing lecture, and good to see you back. and many many congratulation for marriage
Technical guruji gindabad jo v sikha hai aapse hi sikha hai 😍😍
great video by a great person...whenever i learn anything from anywhere and cannot get then i check this site..couldnt get about the nodeport services but here its like crystal clear..thank you sir..🙏
A man with golden heart❤
You are awesome Man.! Thanks for giving all these services for free. Best wishes for you to grow more in future.
I am always waiting for last few minutes of your video 💫✨🎉
Great Shero-shayri ❣️🙏👏
superb sir, earlier i was thinking that kubernetes is tough but after your video, it looks like normal.🥰
These 2 hours of lecture sir included very imp concepts
Aapka wadaa sadahi bana rahe:):) Really appreciate your effort!!!
The way you are teaching is superb... excellent 👍
Great efforts Sir .. I always try watch your video till the end...lots of blessings!!!!! keep shining!!!!!!!!
Great instructor like you are very rare.. I like your hindi
Woww amazing work you did again, I was eagerly waiting for this lecture. Till 50th already complete my notes so was thinking of adding next lecture and you deliver it today. That's Awesome Bhupi Sir, you are doing such a hard work for us. And never seen details video like for 2 + hours with your full effort. Thank you so much Sir. I remind your shayari most of the time when I see something related to DevOps "kuchh to majburiyan rahi hongi, yuhin koyi bewafa nahi hota"
Sir, your videoes are really very good. Your explain the things understandable..
Sir, you are great, and your teaching is outstanding.
WE love your videos they are great stuff of technicality, never saw the issues in recording the videos of your. In this video i could see so much zoom in and zoom out done due to which we are seeing issues. so much of eye pain.
So much of pain you take to make us knowledgeable, alot of effort you keep for us which is really really appreciable. It is making our lives may god bless you all the time with happiness in your life
Khoobsurat shero shayari ❤
Sir, you are the Best Teacher ....
Love your teaching style always. I have made small amount donation.
Thank You once again sir for sharing this amazing video on youtube....pls add loadbalancer and ingress controller services also in continuation. Thank You
Awesome video sir
Mazaa aa jata hai sir
The way you teaching 😍😍😍😍
मैं दिया हूँ मेरी दुश्मनी तो सिर्फ़ अँधेरे से है,
~
हवा तो बेवज़ह ही मेरे ख़िलाफ़ है…😊😊
very awesome video #GreatTeacher
You're a great Teacher Thanks
Sir Happy guru purnima... hamari taraf se dher sari payr.....
Thank you sir for all this content,God bless you all the happiness in your life
most appreciated video. thank you sir.. now i am understand mount volume concept,
Bhupinder bhai saadi aur nayi zindagi ki khushiyaan aur bahut sari mubarakbaadiyaan. Ye message aap ki shaadi k ek saal bad kar raha hoon kyon k ye series mein ne sirf pichlay hafte hi shuru ki hai......khair der aye durust aye!!
Cleared all my doubts
Thank you very much sir for such details content of the topic.
One more feature of hostpath which I think will be as the volume is mounted with the host machine now even POD get deleted but still data is safe as it is mounted by host which is drawback of emptydir type volume.
Great to see your TH-cams.. Thanks
Beautiful lecture and nice labs
Sirji, bas yahi suit ko uniform banao apna...smart & lag rae ho..!!
and as always thanks for doing all this hardwork..
today started with your video #good morning sir
King is back after a long time!!
Good Morning sir...Hope you and your family is good and healthy
Huge respect for you sir.
Thank you so much sir for coming once again 🙏 ❤❤
You are a good human being!!
Thank you Sir for comeback 🙂
Hello Bhupinder ji, Currently I am giving many interviews in kubernetes, But I get failed as they are asking deep understanding in kubernetes with real time hands-on .Please try to provide the videos in kubernetes quickly, so that it will be very helpful for me and other job aspirants . Thank you so much for your all videos and the pack of knowledge
Bro are you looking for devops profile or just k8s profile?
Great video, awesome, appreciate ur great efforts Sir
nice to see again your video after long time, i request to you make video complete deployment of an application and any database on aws cloud through DevOps,
Amazing lecture. Thank you so much sir.
Aap ki sari video achi hoti h
Thank You for your video. Waiting for your next videos.
thankyou sir for this amazing lecture.
Great to see you again sir 🙏
Jabardast lecture .. thanks Sir
Thank you so much sirji aapke in lectures ke liye
Long time later see ,god of cloud in front of us.
Those who have issue connecting over http port to cluster or node port due to route error " No route to host " , will need to add static route in ubuntu ec2 host using cli command to point to private ip
Command IP route Add < container Ip > / 24 via Private IP provided in kubectl get nodes -o wide
Bhai kuch samaj nai aa raha hai
command me kya likhna hai..??
agar apne steps likhe hue hai to please share kare 6 7 din se yahi atka hua hu
i cannot understand this command
can u give in brif
Thanks a lot!!
Thank God, you uploaded this
X Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.27.4 requires crictl to be installed in root's path
Please use "minikube start --force" instead of "minikube start --vm-driver=none".
kaha the sir aap itne din .....?? please itna bhi gap mat rkha karo .....Glad to see you after long time .....
Thank you so much sir
God Bless You !!!!!!
Sir aapki shero shayari bhi paste kar diya karo 😀 Ek Number hai sub
wardaan hai aap Sirji!
Really we all love you....
Thank you Bhupinder Sir ❤️
Good morning my role model....first view sir
After long time waiting eagerly....:)
Thank you so much sir, for your lectures...
u have all my Respect Sir
maza aa gaya aap ki shayri me
Sir you are really amazing
Completed.
Many Thanks for This Tutorials Sir.
Please make Docker & CKAD certification tutorials..
Sir ek galti kari hai apne pod to pod communication ka jo practical perform kara apne usme apne bas host to pod ip ko curl kara pod to pod nahi mean aap jab curl kar rahe the host me the container m nahi gye to to ye kese prove hua ki ek pod dusre pod se communicate kar rha
yes its mistake better to go inside pod container first and run curl its working
not use curl only , use minikube ssh curl your_ip:your_port for outside cluster or on local termial
Let me first comment on this video ..
I will go through with lec soon 👍👍
My pod is running but nginx and httpd not giving any curl output
not use curl only , use minikube ssh curl your_ip:your_port for outside cluster or on local termial