Day 31/40 - Understanding CoreDNS In Kubernetes
à¸à¸±à¸‡
- เผยà¹à¸žà¸£à¹ˆà¹€à¸¡à¸·à¹ˆà¸ 8 à¸.พ. 2025
- Welcome to day 31/40 of the Certified Kubernetes Administrator (CKA) series! In this video, we will dive deep into coreDNS service in Kubernetes. If you want to understand how DNS works in general, refer to the day 31 video of this series.
🚀 Reinforce your knowledge with practical tasks in the Day 31 folder of our GitHub repository: github.com/piy...
👨ðŸ¼â€ðŸ’» #40daysofKubernetes Challenge:
Join our 40-day challenge and solidify your Kubernetes skills. Details can be found in the "#40daysofkubernetes.md" file on GitHub or by watching our Day 0 video.
📖 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 🅵ðŸ†ðŸ…´ðŸ…´ ⛳
✅ ð—”ð˜‡ð˜‚ð—¿ð—² ð——ð—²ð˜ƒð—¢ð—½ð˜€ ð—ð—²ð—¿ð—¼ ð˜ð—¼ ð—›ð—²ð—¿ð—¼:
• Azure DevOps Zero to H...
✅ ð—”ð—ðŸµðŸ¬ðŸ¬ ð—”ð˜‡ð˜‚ð—¿ð—² ð—™ð˜‚ð—»ð—±ð—®ð—ºð—²ð—»ð˜ð—®ð—¹ð˜€ ð—™ð˜‚ð—¹ð—¹ ð—–ð—¼ð˜‚ð—¿ð˜€ð—²
• AZ900WithPiyush - Azur...
✅ ð—¡ð—®ð—ºð—®ð˜€ð˜ð—² ð—šð—¼ð—¼ð—´ð—¹ð—² ð—–ð—¹ð—¼ð˜‚ð—± | ð—šð—–ð—£ ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ ð—³ð—¼ð—¿ ð—¯ð—²ð—´ð—¶ð—»ð—»ð—²ð—¿ð˜€, ð—® ð—°ð—¼ð—ºð—½ð—¹ð—²ð˜ð—² ð—½ð—¹ð—®ð˜†ð—¹ð—¶ð˜€ð˜ ð—³ð—¼ð—¿ ð˜ð—µð—² ð—”ð˜€ð˜€ð—¼ð—°ð—¶ð—®ð˜ð—² ð—–ð—¹ð—¼ð˜‚ð—± ð—˜ð—»ð—´ð—¶ð—»ð—²ð—²ð—¿ (ð—”ð—–ð—˜) ð—–ð—²ð—¿ð˜ð—¶ð—³ð—¶ð—°ð—®ð˜ð—¶ð—¼ð—» ð—˜ð˜…ð—®ð—º:
• Namaste Google Cloud, ...
✅ ð—”ð˜‡ð˜‚ð—¿ð—² ð——ð—®ð˜ð—® ð—³ð˜‚ð—»ð—±ð—®ð—ºð—²ð—»ð˜ð—®ð—¹ð˜€ ð——ð—£ ðŸµðŸ¬ðŸ¬ ð—³ð˜‚ð—¹ð—¹ ð—°ð—¼ð˜‚ð—¿ð˜€ð—²
• Microsoft Azure Data F...
✅ ð—ð—²ð—»ð—¸ð—¶ð—»ð˜€ ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ ð—³ð—¼ð—¿ ð—•ð—²ð—´ð—¶ð—»ð—»ð—²ð—¿ð˜€
• Jenkins Tutorial For B...
✅ #ðŸðŸ¬ð˜„ð—²ð—²ð—¸ð˜€ð—¼ð—³ð—°ð—¹ð—¼ð˜‚ð—±ð—¼ð—½ð˜€ - ð—¥ð—²ð—®ð—¹-ð˜ð—¶ð—ºð—² ð—°ð—¼ð—ºð—½ð—¹ð—²ð˜… ð—µð—®ð—»ð—±ð˜€-ð—¼ð—» ð—½ð—¿ð—¼ð—·ð—²ð—°ð˜ð˜€ ð—¼ð—» ð—–ð—¹ð—¼ð˜‚ð—± ð—®ð—»ð—± ð——ð—²ð˜ƒð—¢ð—½ð˜€
• 10WeeksOfCloudOps Chal...
✅ ð——ð—²ð˜ƒð—¢ð—½ð˜€ ð—®ð—»ð—± ð—–ð—¹ð—¼ð˜‚ð—± ð—£ð—¼ð—±ð—°ð—®ð˜€ð˜ð˜€:
• DevOps and Cloud Podcasts
✅ ð—šð—¶ð˜ð—¹ð—®ð—¯ ð—–𗜠ð—–ð—— ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ | ð—˜ð—»ð—± ð—§ð—¼ ð—˜ð—»ð—± ð—¥ð—²ð—®ð—¹-ð˜ð—¶ð—ºð—² ð—£ð—¿ð—¼ð—·ð—²ð—°ð˜ [ð—™ð˜‚ð—¹ð—¹ ð—–ð—¼ð˜‚ð—¿ð˜€ð—²]
• Gitlab CI CD Tutorial ...
Subscribe to our channel to get notified about the latest videos.
🔥 / techtutorialswithpiyush
-----------------------------------------------------------------------------------------------------------------------
ð—–ð—¼ð—»ð—»ð—²ð—°ð˜ ð—ºð—² ð—›ð—²ð—¿ð—²:👇👇
🔥ð—¬ð—¼ð˜‚ð—§ð˜‚ð—¯ð—² â–¶ / techtutorialswithpiyush
⛳ð—Ÿð—¶ð—»ð—¸ð—²ð—±ð—œð—» â–¶ / piyush-sachdeva
🚀ð—œð—»ð˜€ð˜ð—®ð—´ð—¿ð—®ð—º â–¶ / techtutorialswithpiyush
ðŸŒð—§ð˜„ð—¶ð˜ð˜ð—²ð—¿ â–¶ / techie_piyush
👨â€ðŸ’» ð—šð—¶ð˜ð—µð˜‚ð—¯ â–¶ github.com/piy...
✠ð— ð—²ð—±ð—¶ð˜‚ð—º.ð—°ð—¼ð—º â–¶ / piyush.sachdeva055
📚 ð—±ð—²ð˜ƒ.ð˜ð—¼ â–¶ dev.to/piyushs...
✨ð——ð—¶ð˜€ð—°ð—¼ð—¿ð—± â–¶ / discord
-----------------------------------------------------------------------------------------------------------------------
References 📚:
#devops #techtutorialswithpiyush
Thnx guys u are my brahmastra on the k8s journey
Har har mahadevâ¤ï¸
Amazing content learning something new daily , thanks you so much for this sir for creating this series 🙂
great content!
Thanks for the Excellent explanation of CoreDNS, Piyush!! K8s networking is one such topic I find it hard but not anymore after this series of videos.
And the Special guest is Abhishek Veramalla 🌟
I promise none of the Kubernetes topics will be difficult once we finish this series. I have a lot more Kubernetes videos planned after this series. About the guest, I guess you have to wait till monday for that :)
Awsome work!
Thanks for recording a great video series.
You're welcome! 😊
Thanks for creating such wonderful content
You're welcome! 😄
Thanks for sharing Piyush! I’ve had a hard time understanding the core-dns setup in kubernetes and this clearly explains what I was missing out
You're welcome Joel! I am glad you found it helpful
Great explanation you made it so simple
Thanks man!
Glad it helped!
Hi piyush bro. I'm Anil here. Yesterday night sitting and digging deep the DNS at 1am in the night. Becoz of YOU. thank you man.
Hello Anil, I am glad you found the video worth spending your late night on. Thank you
Great Explanation !!!!
Thank you!
another great lesson...! thank you so much
You're very welcome :)
Greate job!
great explanation. !
Glad it helped!
thank you for your hard work!!!
Appreciate it! ðŸ™
Thank you for the explanations on DNS inside of Kuebernetes
Glad it was helpful!
you the best
Thank You SirðŸ™
Welcome buddy!
Great explanation
Thank you
Thank You
Thanks Piyush, my guess is like Abhishek Veeramalla for explaining the k8s networking concepts. I will be waiting for the next session
I guess you will find out soon :)
Comment for target...!!!!!
Hi piyush latest version of kubernetes as of aug 24 is 1.31
Yes, the video was published before it but there's no change from the exam perspective
Hi Piyush! Thanks for the great content.
Now it's day 31 for me and stuck with nginx1 pod name resolution from nginx pod.
I have a local cluster and properly installed with calico. resolv host files are correctly pointing to the kube-dns IP address.
I am able to curl nginx1-service service name from nginx pod, also with their respective IP addresses.
I did some research and applied a headless service selector (clusterIP: None) for the nginx pods but didn't help... I've also tried the FQDN to resolve the name, again no luck... Also the dnsPolicy is set to ClusterFirst.
Could you share the yaml files for both pods and services? I believe I have correct definitions in the yamls, I'd like to try the yamls you used to set up the pods & services.
Thanks!
Really wish this video had time stamps.
Bro, could you please explain the helm chart topic.
Yes, let me finish this series first. Then I will also create detailed tutorial about Helm charts.
@@TechTutorialswithPiyush thank you so much brother🧡🧡
Kustomize also please :). Appreciate you time and efforts in creating the content
@@josephrajareddy4606 sure sure
Adding extra nw add on like Calico will required only of we are using kind clusters. Right?
What if we are working in Eks or K8s? Will the coredns pods/deployment available by default?
With managed kubernetes service, the CNI comes by default with the setup. It could be Calico, Cilium or anything else
Hmm , next topic on Networking and all the world relies
A lot more is coming , stay tuned
🎉
ðŸ˜
Thanks FYI, kindly explain about networking in kubernates which about iptable, Cgroups and CNI, how pod assigned IP
Yes, it's already there in the queue, will be published in the coming week
@@TechTutorialswithPiyush thanks much piyush, really you are doing grea!
Hi Piyush Sir,
Thanks for making such a easy and understandable content. If I had a power to write 100 genuine comments and likes then I would have done it. But please take this single comment as a power of 100 comments and likes. Thanks again!
Hello Kunal, This sweet gesture is worth more than 1000 likes and comments! I truly appreciate it
Hello piyush one question....
Like this is more than enough for cka exam
Hello , Yes, if you complete this series plus all hands-on exeercises in the Github repo, it is more than enough
Bro can you make 10 different tutorials about kubernetes clearing everything one by one example would be great
You are saying 10! I have created 42 videos in the series about Kubernetes, have you started from day0 video? if not , please check it out. Once this is done, I will be adding many more important Kubernetes concepts to the list.
@@TechTutorialswithPiyush yes just saw that 😂. Thanks for ur hardwork man. Keep up the good work ðŸ‘
@@asntechies8017 No problem 😀 I'd recommend starting from the beginning to get maximum benefits from it.
very confusing to understand these DNS Concepts
Yes it is confusing until you try it out yourself
Is he Abhishek??
You will find out next week
#alleyesonbangladeshihindus
This one you couldn’t explain properly. It’s confusing.
Hey, Thank you for the feedback. Just wanted to check if you watched the previous video about DNS before this? also, can you share more details about which part you found confusing? I will keep that in mind from next time
Your confusing viewers, like 1. you directly opened the kube-system namespace which you did not create and showing the pods inside. 2. As your explaining the core DNS why did you create a deployment with the name coreDNS and also you created a kube - dns service ( as you know that kube-dns is replaced with the name coreDNS. 3. if you want to show something and explain clearly please show us the with the yaml files for deployments and services.
even your video is a continuation of a series try to be specific because we search in the youtube with the specific topic and learn.
I opened your video with your thumbnail but the content is confusing from the first itself. A beginner will loose motivation. My request is be specific and clear. Thank you
Relax bro, no one is confusing anyone. This is a series, you cannot expect me to cover all the prerequisites in a single video that is why it's a series, I could have created a single video of 20 hours long only then it would have covered everything. Even Docker, dns, namespaces, pods, deployments, kubernetes architecture and 30+ other topics are prerequisite to this video and same in every video, how can you expect me to cover everything every time 🤯 This series was created keeping beginners in mind, If I can spend 40 sleepless nights just to create one single series, a beginner can atleast take some effort to start from the beginning.
Greate job!
Thanks!