Kubernetes Namespaces Explained in 15 mins | Kubernetes Tutorial 21
HTML-код
- Опубликовано: 2 июл 2024
- Introduction to Kubernetes Namespaces: What are Kubernetes Namespaces? How do Namespaces help you manage your Kubernetes resources and how to use them?
► Subscribe To Me On RUclips: bit.ly/2z5rvTV
▬▬▬▬▬▬ T I M E S T A M P S
0:00 - Intro
0:14 - What is a Namespace?
0:32 - 4 Default Namespaces explained
2:13 - Create a Namespace
3:00 - Why to use Namespaces? 4 Use Cases
3:03 - Organizing your components
5:00 - Avoid conflicts with other teams
6:00 - Sharing resources
7:22 - Access and Resource Limits
8:53 - Characteristics of Namespaces
11:26 - Create Components in Namespaces
13:54 - Change Active Namespace
Kubectx/Kubens Installation Guide: github.com/ahmetb/kubectx#ins...
-------------------------------------------------------------------------------------------------------
Full Kubernetes and Docker tutorial 👉🏼 • Docker and Kubernetes ...
What is Kubernetes? 👉🏼 • What is Kubernetes | K...
Kubernetes Components explained? 👉🏼 • Kubernetes Components ...
For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes.
#kubernetes #kubernetestutorial #devops #techworldwithnana
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► bit.ly/32UVSZP
Don't forget to subscribe ► bit.ly/3mO4jxT
DEV ► bit.ly/3h2fqiO
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
Legal Notice:
Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.
0:14 - What is a Namespace?
0:32 - 4 Default Namespaces explained
3:00 - Why to use Namespaces? 4 Use Cases
3:03 - Organizing your components
5:00 - Avoid conflicts with other teams
6:00 - Sharing resources
7:22 - Access and Resource Limits
8:53 - Characteristics of Namespaces
11:26 - Create Components in Namespaces
13:54 - Change Active Namespace
👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
Please don't forget to subscribe and give me a thumbs up if you liked my video 😊
Excellent!!!
@@BiswaRSingh Thanks :)
Awesome.. kudos for time lines..... Keep it up...
Subscribed...
@@vishnuvardhan6643 Thanks for subscribing Vishnu :) 👍
you can also use this command to change namespace, `kubectl config set-context --current --namespace=NAMESPACE_NAME `
this seems easier
just before adding the same comment saw this one :)
I have used kubens and kubectx for the last 2 years. Can’t change back.
How to rename at namespace at aks ?
This video was perfect. Exactly what I needed to know without getting too deep and not going too high level. Just perfect. And this has given me some new ways to work.
Thanks Richard, glad to hear! :)
Great simplified breakdown. Thanks!
Ive gone through so many of your videos regarding kubernetes, and they have been exceptionally helpful, especially for a young dev ops engineer. Thank you!!
Thanks, Nana! Great video. Perfect for 5am studies.
I have recently started watching your video and subscribed to your channel, I must say, your understanding on the subject is remarkable.
I just discovered this channel and I learned Kubernetes watching your videos.Excellent content
Thanks lot Nana👌
Thats a beautiful and crisp presentation Nana.Thanks a lot.
Bookmarked your channel. Love the simplicity and the information.
Very clear and concise - bravo!
Excellent video. I learned how should I use the namespace. Thanks Nana.
Really really clear explanation, thanks so much!
I just discovered this channel. These are the best (or among the best) kubernetes tutorials. I've been struggling with understanding how some things in k8s work, and these tutorials are helping a lot. Thanks a lot.
That's great, thanks a lot 🙂 Please subscribe and I would appreciate if you share the videos with people who want to learn K8s :)
Done thanks, took notes in onenote
I finally understood namespaces in kubernetes after following this lecture. Thanks
That's great, happy the video was helpful :)
Excellent, adapted an easy scenario to understand things.
Great video on the specific topic for sure, thanks for that.. But moreover its a great demo how tech videos should be done without much fuss & straight to the point and actual problem.. Hats off to that approach.
Simple clear and perfect..Thank you..God bless you .
Thanks Harish!
Amazing and precise info about Kubernetes Namespaces
OMFG NOW I FINALLY UNDERSTAND NAMESPACES, THANK UUUUUUUUUU
I'm glad my video helped in understanding! 🙂
You are fantastic teacher
What a great resource!!! Thanks a lot
Thanks for this awesome video. great explanation about namespace!
From india, with respect. Happy Teachers' Day, Nana mam!!
Great info, really appreciate the detailed explanations. Thank you for your videos!
Thanks a lot Sandro, glad the videos are helpful for you!
I just had a ski accident, my ACL was teared and my MCL partial tear on my left knee...
listening to nana talking about namespaces is one of my therapy.
Excellent job! Very well presented. Not to mention you post new contents every week. I just subscribed!
Thank you Simon! This just warms my heart. Please stay safe and well. 🙂
You are simply great. Congrats and thanks 😊
akkaaaa nuv super! masth clear chepinav le
Nice and clear!! Thanks
your videos help me a lot to understand the components of k8s! Thanks
Happy to hear that, thank you :)
Concise and clear!
Thank you. You did a good job.
Great Video Nana! Thank you!
Thanks, glad you like it :)
Very good information. Thank you
Nice video and you explained it very clearly.
GREAT WORK MA'AM...
Too awesome videos all are, your explanation is addictive and in a simpler terms making us to understand Kubernates, tqsm 😇 love frm India! 💚 🙂😊
Great content Nina! Thank you so much. Its very helpful.
I'm glad that this tutorial has helped you Mohammed. 🙂
simple and clear info,thanks Nana
You're welcome, glad it was helpful for you :)
Its very nice and comprehensive video about namespaces.
One use case of namespace is to organize the Objects/Resources.
Labels are also used to categorized and organized the Resources/Objects so what is the difference between namespace and labels for that specific use case.
This was a very good and informative video, thank you so much for that high quality contents, Nana!
I think I will be here for next few weeks to learn kubernetes with you. 😊
very helpful video, thanks!
You're welcome. 🙂
Thank you, awesome infomation
wow this is a great video, very simple to my simple brain, thank you so much👍👍👍
Thank you very much for the video 😄😄
Once again.. perfect video giving a great understanding using simple words. Could you consider making a video on Spinnaker as well...
Hi Nana, thank you very much for such a great tutorial, this is one of the best tutorial i found on youtube, very easy to understand, explained in simple english, i would really like to join your classes if you do so, please let me know if i can join your class or have one on one session to learn docker and kubernetes.
Thanks much
this is excellent material. U good.
Thanks for another awesome video. Your videos have really helped make things click for me.
Thanks Seth, glad it's so helpful! :)
Great video on namespace in K8. Nice insight of how to use namespace and the possibilities and scenarios it can be used. I would add one more lesson to my folder under the name "Nana" . Kudos to you young Lady for sharing!. Thanks!!. Mat.
Thanks a lot for your nice feedback Mat!
good explanation, u told not only what is ns, u also told when to create when to have 2 namespaces, but only point missed is," namespace is the space which is allocated across the nodes in a cluster"
You doing so good work. Thank you
Thank you :)
Ma'am you're truly a god!!!
Hi Nana...really nice explanation..now I'm clear about the namespace.
That's great :)
kubens is great time saver ☺️ Thanks
Truely awesome
Thank you so much nana
Wow, wonderful.
Thank you Kartheek. 🙂
thank you very much , best videos , much love
Thanks again Mhamed! 🤗
I'm not fluent in English but your pronunciation is clear for me... 👍🏻
Thanks :)
Your content is excellent. I am traditionally a book and hands on learner, however your videos are clear and concise. Well done!
Thank you Michael!! :)
I'm the same as you and I agree. This is a very good video.
@@llorllale Thank you George
very nice video... i enjoyed learning this... thank u SIS :)
Hi Nana - it has been a great experience watching your youtube channel it helped me a lot to know about k8s. could you please make a video related to role-based access?
Very nice... keep going mam...
Thanks a lot Nana
Thank you!!
Thank you Mam
Now I am clear about Namespaces. Thanks a lot Nana. Can you please create a video on deploying an application in kubernetes cluster using Jenkins pipeline, it will be really helpful.
Thank you, also for your suggestion!
It was perfect!!!
You are awesome Nana !!
Could you please make Tutorial series on "Tekton" & "Jenkins X"
Very interesting topics, thanks for suggesting it. I will definitely consider it :)
Good vid, but you should look at the risks of using NS. Breaking out of an NS means prowling the entire cluster - I find that to be a very high risk environment
Your videos are awesome...
Thanks Aswin :D
@@TechWorldwithNana Can you put a video for Kubernetes Service Mesh ??
Awesome
perfect
I love your explanation style also your voice I don't see this type of girl around me
You’re really awesome 👏 it’s clear explanation...can it possible help me how to install Kubernetes in my own pc if u have doc or video please share thanks
Thanks a lot for your feedback. Sure, you can set up Minikube locally pretty easily. Here the link to my Minikube setup video: ruclips.net/video/E2pP1MOfo3g/видео.html
If you want to fix your namespace for current terminal session, I think "kubectl config set-context --current --namespace={your_namespace}" would work without installing anything else.
Hi Nana.
Thank you so much to take the time out to put out such great content!!
I am a newbie to K8, coming from networking back ground. I have a question on namespace.
Let say we have two name spaces NS1 and NS2 on K8 cluster, NS1 has Pod1, NS2 has POD2. Each pod has a single container. Can Pod1 talk to POD2 by default using POD2 's IP? I know PODS on the name space can talk to all pods on the same name space. But I am not sure if this default behavior is still true if we have PODS in different name spaces
Much appreciated!!
On kubens (14:15) i.e. setting a default ns, kubectl config se-context --namespace= should work
Yes, thanks for info Theodor. it works with: "kubectl config set-context {context-name} --namespace={ns-name}"
Good update
Hi Nana. Thank you for you videos! What do you think about using Rancher? With Rancher you can separate namespaces in different projects.
Nice explanation of Namespaces, confiMap only can store the namespaces. In order to create a namespace i think we need file with kind: namespace.??
In real-world scenarios, organizations often make a choice between using namespaces or individual AWS accounts when deploying services across different environments such as development (dev), quality assurance (QA), and production (prod). Can you please provide further clarification?
Hi Nana, I have a question. If I have 3 worker nodes, can I set affinity of a namespace to particular 2 worker nodes? This requirement came to me to segregate 2 projects with different cost approvals.
@TechWorld with Nana at 4:55 should you mention logging and mentoring, should that be monitoring?
Oh yes that was a mistake, I meant monitoring 😄Thanks for pointing that out!
Your kubernetes videos are awesome, congrats. How did you get so good at using kubernetes? 😁
Thanks a lot Dorin 😊 I guess through a painful, but very interesting process of setting up complex applications on K8s under time pressure 😀
@@TechWorldwithNana thanks a lot for sharing your knowledge with the world and in such a professional manner. I just got bought you new tutorial on Ucademy, very well made. Congratulations on your dedication and please keep posting videos, it helps a lot of ppl 😁
@@din956 Wow great to hear such positive feedback 😊 Thank you so much again. Will definitely keep creating more content for you guys! 😁
Can we create ephemeral namespaces ? if namespace A is in use and in high load scenario we can spawn Namespace B with same set of resources using by A
Could you please explain HA master node concpet in Kubernetes
Maybe I will do that in some later video, thanks for your suggestion!
You are Super Cute and Awesome!!!! Just a typo @4:50..Thanks for video.
Thank you Manoj. 🙂
Great video!. I am not able to install kubectx on ubuntu 18. Getting Unable to locate package kubectx.
what do u think that is why
I guess dev and production in their own separate cluster is a good idea
with my minikube installation with hyperkit, I do not see "kubernetes-dashboard" namespace. I only have 4 i.e
default
kube-node-lease
kube-public
kube-system
what am I missing?
thanks Nana,great video what is a configmap that you mentioned here
It's an external configuration to your application. I explained it here: ruclips.net/video/Krpb44XR0bk/видео.html or in this video ruclips.net/video/EQNO_kM96Mo/видео.html you see how a configmap is used in practice, which also helps in understanding.
@@TechWorldwithNana Thanks a lot! its very helpful, i am able to connect the dots that i was running in circle from couple of months,Bless you!!
@@RaviKumar-ik8qb Great! :)
@nana what tool do u use for ur presentation?
I have doubts on CNI can prefer to me any documents
commenting for better reach.
Assuming I have some nontrivial resources under `my-namespace`, what if I run this command?
`kubectl delete namespace my-namespace`
What's going to be the result?
got the answer here
stackoverflow.com/questions/47128586/how-to-delete-all-resources-from-kubernetes-one-time#:~:text=If%20you%20want%20to%20delete,namespace%20flag%20to%20k8s%20commands.
How to use secrets in cross namespace.?
please I have a problem with that yaml file. Plese make a video on yaml file with more options I am unable to find resource where I find the options for yaml files. So if you can do for us that will be better.