Day 9/40 - Kubernetes Services Explained - ClusterIP vs NodePort vs Loadbalancer vs External

preview_player
Показать описание
Welcome to day 9/40 of the Certified Kubernetes Administrator (CKA) Full Course. In this video, we will explore Kubernetes Services in depth with a detailed conceptual explanation, a live demo, and an engaging hands-on assignment.

In this video, you'll learn:
- What are Kubernetes Services
- How we use Kubernetes service to expose an application
- Different types of Kubernetes services ClusterIP vs NodePort vs Loadbalancer vs External
- Demo creating a Kubernetes service
- Imperative commands to create a service
- What are endpoints in Kubernetes
- Troubleshooting a Kubernetes service

👨🏼‍💻 #40daysofKubernetes Challenge:

📖 Course Schedule:
I'll release 3-4 videos per week and host live Q&A sessions on weekends to answer your questions and guide you through the CKA certification process.

🕵🏻‍♂️ Who Should Watch:
This CKA course is designed for beginners, college students, and working professionals who want to learn Kubernetes from scratch, prepare for the CKA certification exam, or enhance their knowledge. It was designed based on the latest curriculum for the CKA exam in May 2024 and uses 1.30.2 as the Kubernetes version.

Let's start your Kubernetes journey together!

𝗖𝗢𝗠𝗣𝗟𝗘𝗧𝗘 𝗧𝗨𝗧𝗢𝗥𝗜𝗔𝗟 𝗦𝗘𝗥𝗜𝗘𝗦 👌 It’s 🅵🆁🅴🅴 ⛳

✅ 𝗔𝘇𝘂𝗿𝗲 𝗗𝗲𝘃𝗢𝗽𝘀 𝗭𝗲𝗿𝗼 𝘁𝗼 𝗛𝗲𝗿𝗼:

✅ 𝗔𝗭𝟵𝟬𝟬 𝗔𝘇𝘂𝗿𝗲 𝗙𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗙𝘂𝗹𝗹 𝗖𝗼𝘂𝗿𝘀𝗲

✅ 𝗡𝗮𝗺𝗮𝘀𝘁𝗲 𝗚𝗼𝗼𝗴𝗹𝗲 𝗖𝗹𝗼𝘂𝗱 | 𝗚𝗖𝗣 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗯𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀, 𝗮 𝗰𝗼𝗺𝗽𝗹𝗲𝘁𝗲 𝗽𝗹𝗮𝘆𝗹𝗶𝘀𝘁 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗔𝘀𝘀𝗼𝗰𝗶𝗮𝘁𝗲 𝗖𝗹𝗼𝘂𝗱 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿 (𝗔𝗖𝗘) 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗘𝘅𝗮𝗺:

✅ 𝗔𝘇𝘂𝗿𝗲 𝗗𝗮𝘁𝗮 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗗𝗣 𝟵𝟬𝟬 𝗳𝘂𝗹𝗹 𝗰𝗼𝘂𝗿𝘀𝗲

✅ 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗕𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀

✅ 𝟭𝟬𝘄𝗲𝗲𝗸𝘀𝗼𝗳𝗰𝗹𝗼𝘂𝗱𝗼𝗽𝘀 - 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗰𝗼𝗺𝗽𝗹𝗲𝘅 𝗵𝗮𝗻𝗱𝘀-𝗼𝗻 𝗽𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗼𝗻 𝗖𝗹𝗼𝘂𝗱 𝗮𝗻𝗱 𝗗𝗲𝘃𝗢𝗽𝘀

✅ 𝗗𝗲𝘃𝗢𝗽𝘀 𝗮𝗻𝗱 𝗖𝗹𝗼𝘂𝗱 𝗣𝗼𝗱𝗰𝗮𝘀𝘁𝘀:

✅ 𝗚𝗶𝘁𝗹𝗮𝗯 𝗖𝗜 𝗖𝗗 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 | 𝗘𝗻𝗱 𝗧𝗼 𝗘𝗻𝗱 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 [𝗙𝘂𝗹𝗹 𝗖𝗼𝘂𝗿𝘀𝗲]

Subscribe to our channel to get notified about the latest videos.

-----------------------------------------------------------------------------------------------------------------------
𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝗺𝗲 𝗛𝗲𝗿𝗲:👇👇

-----------------------------------------------------------------------------------------------------------------------

References 📚:

#devops #kubernetes
Рекомендации по теме
Комментарии
Автор

Kubernetes Services seems simple now.
Thank you for all of your efforts 🙂

sonalpriya
Автор

Breaking down the basics with ease and helping laymen like myself make sense of all the endless documents that we can get caught up reading. You are the man Piyush!

nope-msrx
Автор

Thankyou so much piyush, i see lot of value in your content & the way you explain is awesome . on target to complete CKA certification with your videos

guntreddirajesh
Автор

Awesome class 🎉.
Thank you for your valuable free content.❤❤❤

kanikv
Автор

Couldn't watch for a week. But still able to relate things pretty well. Mastery in teaching. Keep up good work.
Although I'm coming here to revise my kube knowledge. Your teaching skills are pretty neat ❤

vinaykumar-qqwq
Автор

Thank you for the explanation on Services :)

vm_naveen
Автор

Thank you! It took me some time to reproduce and understand service types.

artbart
Автор

thanks Piyush bhai ..really helpful ..

AI_suraj_singh_
Автор

I installed Kind on the EC2 instance and am working there, while accessing the application 0f 30001 port I am getting a timed-out error, even though I added inbound rules for the node port and NACL is also allowing the port. Could you help me understand where I am getting wrong?

radhikagudidesi
Автор

woah.. Damn awesome video Piyush. That was a lot to cover. I dont know why but I got some kind of rush 😅. Understood all the part. However, I have this question. I know you might have covered in the videos, but still gotta ask. So, what exactly is the heirarchy in kubernetes. i mean I understood the basic like pod is the smallest unit, then node then all nodes form clusters etc. But if we talk on a different level, say replicastes, deployments etc. then what is the heirarchy over here?

karnajeetsawant
Автор

So Using kind cluster we cannot run application through <<ip:port >> it has to be run through localhost?

akifsalah
Автор

Thanks for the Video Piyush. Can you please make a video on how k8s networking will be handled in production environment

pradeepnpkumar
Автор

i want to know does we had done something like port-mapping for kind cluster ?

hetpatel
Автор

Hi Piyush, How service and pod will talk each other. with help of match lables

popurisrinivas
Автор

What would be real exposed port is 80 or 30001 because in one of my earlier particles getting output from 80 and not from 30001. I used minikube and for kind i use NodePort.

BhaveshKansagaraOfficial
Автор

Thank you very much Piyush can i use the Docker desktop instead of Kind

hiranyawg
Автор

Hi Piyush, thanks for winderful stuff ! I have one question here, let say if we want to expose few more ports in kind, so we really need to re-create the cluster with new port mappings ?

password
Автор

Sir i have a question. Can we have a service without selector? And what are the industry standards either they use Type LB or something else? Because LB type will be costly.

salmanbintariq