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 😊
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.
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.
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!!
I've been doing this many years while constantly updating my skills. I've learned so much watching your videos. thank you for being such an excellent teacher!!! I love you. ❤ :)
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"
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.
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. 😊
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.
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.
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.
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.
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
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?
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
@@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 😁
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!!
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: ua-cam.com/video/E2pP1MOfo3g/v-deo.html
It's an external configuration to your application. I explained it here: ua-cam.com/video/Krpb44XR0bk/v-deo.html or in this video ua-cam.com/video/EQNO_kM96Mo/v-deo.html you see how a configmap is used in practice, which also helps in understanding.
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?
At 2:40 you say it's better to create a namespace with a config file, but the file shown is for a ConfigMap (which uses a namespace) Is that a mistake ?
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.
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.
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! :)
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 :)
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!!
I just discovered this channel and I learned Kubernetes watching your videos.Excellent content
Thanks lot Nana👌
I've been doing this many years while constantly updating my skills. I've learned so much watching your videos. thank you for being such an excellent teacher!!! I love you. ❤ :)
I finally understood namespaces in kubernetes after following this lecture. Thanks
That's great, happy the video was helpful :)
From india, with respect. Happy Teachers' Day, Nana mam!!
kubens is great time saver ☺️ Thanks
Truely awesome
Bookmarked your channel. Love the simplicity and the information.
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
Thats a beautiful and crisp presentation Nana.Thanks a lot.
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"
I'm not fluent in English but your pronunciation is clear for me... 👍🏻
Thanks :)
I have recently started watching your video and subscribed to your channel, I must say, your understanding on the subject is remarkable.
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.
akkaaaa nuv super! masth clear chepinav le
Done thanks, took notes in onenote
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. 😊
Excellent video. I learned how should I use the namespace. Thanks Nana.
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!
Very beautifully explained Nana🏆
wow this is a great video, very simple to my simple brain, thank you so much👍👍👍
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.
Thanks for another awesome video. Your videos have really helped make things click for me.
Thanks Seth, glad it's so helpful! :)
your videos help me a lot to understand the components of k8s! Thanks
Happy to hear that, thank you :)
Nice video and you explained it very clearly.
You are fantastic teacher
Hi Nana...really nice explanation..now I'm clear about the namespace.
That's great :)
excellent explenation.
Awesome explanation 👍🎉
OMFG NOW I FINALLY UNDERSTAND NAMESPACES, THANK UUUUUUUUUU
I'm glad my video helped in understanding! 🙂
Once again.. perfect video giving a great understanding using simple words. Could you consider making a video on Spinnaker as well...
Amazing and precise info about Kubernetes Namespaces
Excellent, adapted an easy scenario to understand things.
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!
Great content Nina! Thank you so much. Its very helpful.
I'm glad that this tutorial has helped you Mohammed. 🙂
Simple clear and perfect..Thank you..God bless you .
Thanks Harish!
simple and clear info,thanks Nana
You're welcome, glad it was helpful for you :)
You are simply great. Congrats and thanks 😊
Thank you very much for the video 😄😄
Great simplified breakdown. Thanks!
very helpful video, thanks!
You're welcome. 🙂
GREAT WORK MA'AM...
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.
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
Very good information. Thank you
You doing so good work. Thank you
Thank you :)
Too awesome videos all are, your explanation is addictive and in a simpler terms making us to understand Kubernates, tqsm 😇 love frm India! 💚 🙂😊
Thank you. You did a good job.
very nice video... i enjoyed learning this... thank u SIS :)
Really really clear explanation, thanks so much!
Thank you, awesome infomation
Thanks for this awesome video. great explanation about namespace!
Ma'am you're truly a god!!!
Very clear and concise - bravo!
Great info, really appreciate the detailed explanations. Thank you for your videos!
Thanks a lot Sandro, glad the videos are helpful for you!
this is excellent material. U good.
Nice and clear!! Thanks
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?
Great Video Nana! Thank you!
Thanks, glad you like it :)
Wow, wonderful.
Thank you Kartheek. 🙂
Thank you Mam
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 :)
What a great resource!!! Thanks a lot
Concise and clear!
Your videos are awesome...
Thanks Aswin :D
@@TechWorldwithNana Can you put a video for Kubernetes Service Mesh ??
Thank you so much nana
@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!
Thanks a lot Nana
Very nice... keep going mam...
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
thank you very much , best videos , much love
Thanks again Mhamed! 🤗
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
I love your explanation style also your voice I don't see this type of girl around me
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! 😁
Thank you!!
Nice explanation of Namespaces, confiMap only can store the namespaces. In order to create a namespace i think we need file with kind: namespace.??
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!!
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: ua-cam.com/video/E2pP1MOfo3g/v-deo.html
perfect
thanks Nana,great video what is a configmap that you mentioned here
It's an external configuration to your application. I explained it here: ua-cam.com/video/Krpb44XR0bk/v-deo.html or in this video ua-cam.com/video/EQNO_kM96Mo/v-deo.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! :)
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?
Awesome
Hi Nana. Thank you for you videos! What do you think about using Rancher? With Rancher you can separate namespaces in different projects.
You are Super Cute and Awesome!!!! Just a typo @4:50..Thanks for video.
Thank you Manoj. 🙂
It was perfect!!!
At 2:40 you say it's better to create a namespace with a config file, but the file shown is for a ConfigMap (which uses a namespace)
Is that a mistake ?
Great video!. I am not able to install kubectx on ubuntu 18. Getting Unable to locate package kubectx.
Could you please explain HA master node concpet in Kubernetes
Maybe I will do that in some later video, thanks for your suggestion!
@nana what tool do u use for ur presentation?
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.
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.
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
I guess dev and production in their own separate cluster is a good idea
I have doubts on CNI can prefer to me any documents
How to use secrets in cross namespace.?
where i should place these deploy/configuration yaml files