Kubernetes Namespaces Explained in 15 mins | Kubernetes Tutorial 21

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 175

  • @TechWorldwithNana
    @TechWorldwithNana  4 роки тому +38

    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 😊

  • @vakhodonadze267
    @vakhodonadze267 4 роки тому +70

    you can also use this command to change namespace, `kubectl config set-context --current --namespace=NAMESPACE_NAME `

    • @procheeseburger_2
      @procheeseburger_2 3 роки тому +3

      this seems easier

    • @romanbobyor
      @romanbobyor 3 роки тому +3

      just before adding the same comment saw this one :)

    • @Oxxygen_io
      @Oxxygen_io 3 роки тому +1

      I have used kubens and kubectx for the last 2 years. Can’t change back.

    • @hcompres1
      @hcompres1 3 роки тому

      How to rename at namespace at aks ?

  • @Antebios
    @Antebios 4 роки тому +37

    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.

  • @StormWolf01
    @StormWolf01 4 роки тому +6

    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.

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      That's great, thanks a lot 🙂 Please subscribe and I would appreciate if you share the videos with people who want to learn K8s :)

  • @thomasmiller2747
    @thomasmiller2747 3 роки тому +5

    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!!

  • @vignesht9055
    @vignesht9055 Рік тому

    I just discovered this channel and I learned Kubernetes watching your videos.Excellent content
    Thanks lot Nana👌

  • @r3jk8
    @r3jk8 4 місяці тому

    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. ❤ :)

  • @sajidali-th1dg
    @sajidali-th1dg 4 роки тому +2

    I finally understood namespaces in kubernetes after following this lecture. Thanks

  • @karthikkarthik100
    @karthikkarthik100 2 роки тому

    From india, with respect. Happy Teachers' Day, Nana mam!!

  • @Shuubham_Harilal_Saroj
    @Shuubham_Harilal_Saroj 2 роки тому +1

    kubens is great time saver ☺️ Thanks

  • @anantharamakrishnan19
    @anantharamakrishnan19 2 роки тому +1

    Bookmarked your channel. Love the simplicity and the information.

  • @MichaelJones-ff9gb
    @MichaelJones-ff9gb 4 роки тому +1

    Your content is excellent. I am traditionally a book and hands on learner, however your videos are clear and concise. Well done!

  • @abilashkp2243
    @abilashkp2243 2 роки тому

    Thats a beautiful and crisp presentation Nana.Thanks a lot.

  • @manideepkumar959
    @manideepkumar959 Рік тому

    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"

  • @SaWi12
    @SaWi12 4 роки тому +2

    I'm not fluent in English but your pronunciation is clear for me... 👍🏻

  • @rjain0611
    @rjain0611 4 роки тому

    I have recently started watching your video and subscribed to your channel, I must say, your understanding on the subject is remarkable.

  • @AviadShalom
    @AviadShalom Рік тому

    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.

  • @Sai2k
    @Sai2k Рік тому

    akkaaaa nuv super! masth clear chepinav le

  • @mostinho7
    @mostinho7 4 роки тому +2

    Done thanks, took notes in onenote

  • @AbuBakrSadiqi-b7t
    @AbuBakrSadiqi-b7t 7 місяців тому

    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. 😊

  • @joelamks
    @joelamks 4 роки тому

    Excellent video. I learned how should I use the namespace. Thanks Nana.

  • @mathewkargarzadeh3158
    @mathewkargarzadeh3158 4 роки тому +1

    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.

  • @jaleeshassan3848
    @jaleeshassan3848 5 місяців тому

    Very beautifully explained Nana🏆

  • @ewsdneax61eaxe10
    @ewsdneax61eaxe10 2 роки тому

    wow this is a great video, very simple to my simple brain, thank you so much👍👍👍

  • @naumanzafar7922
    @naumanzafar7922 4 роки тому +1

    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.

  • @SethArt
    @SethArt 4 роки тому +2

    Thanks for another awesome video. Your videos have really helped make things click for me.

  • @rokofromhell9264
    @rokofromhell9264 4 роки тому +1

    your videos help me a lot to understand the components of k8s! Thanks

  • @pgnitc
    @pgnitc 4 роки тому

    Nice video and you explained it very clearly.

  • @sathchithanand
    @sathchithanand 2 роки тому

    You are fantastic teacher

  • @mycoinscollections
    @mycoinscollections 4 роки тому +1

    Hi Nana...really nice explanation..now I'm clear about the namespace.

  • @HLearningFun
    @HLearningFun 4 місяці тому +1

    excellent explenation.

  • @bkmanikanta5070
    @bkmanikanta5070 6 місяців тому

    Awesome explanation 👍🎉

  • @and1play5
    @and1play5 4 роки тому +1

    OMFG NOW I FINALLY UNDERSTAND NAMESPACES, THANK UUUUUUUUUU

  • @armanavasthi
    @armanavasthi 4 роки тому +2

    Once again.. perfect video giving a great understanding using simple words. Could you consider making a video on Spinnaker as well...

  • @shaileshchaskar6093
    @shaileshchaskar6093 3 роки тому

    Amazing and precise info about Kubernetes Namespaces

  • @connect-learn-deliver
    @connect-learn-deliver 4 роки тому

    Excellent, adapted an easy scenario to understand things.

  • @MadhuExplorer
    @MadhuExplorer 4 роки тому +1

    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.

  • @mohammadharrismokhtar6626
    @mohammadharrismokhtar6626 4 роки тому +1

    Great content Nina! Thank you so much. Its very helpful.

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      I'm glad that this tutorial has helped you Mohammed. 🙂

  • @harishdevarapalli1537
    @harishdevarapalli1537 4 роки тому +1

    Simple clear and perfect..Thank you..God bless you .

  • @balakuruva2964
    @balakuruva2964 4 роки тому +1

    simple and clear info,thanks Nana

  • @matteobarnaba6518
    @matteobarnaba6518 2 роки тому

    You are simply great. Congrats and thanks 😊

  • @MrPiGSkiN85
    @MrPiGSkiN85 3 роки тому

    Thank you very much for the video 😄😄

  • @christophercatchings162
    @christophercatchings162 4 роки тому

    Great simplified breakdown. Thanks!

  • @Dahai110
    @Dahai110 4 роки тому +1

    very helpful video, thanks!

  • @azizurrehman9525
    @azizurrehman9525 8 місяців тому

    GREAT WORK MA'AM...

  • @satyasid
    @satyasid 3 роки тому

    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.

  • @mjnyc88
    @mjnyc88 4 роки тому +3

    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

  • @JamesFraley
    @JamesFraley 3 роки тому

    Very good information. Thank you

  • @abhisheksurwariya
    @abhisheksurwariya 4 роки тому +1

    You doing so good work. Thank you

  • @harishkrish14386
    @harishkrish14386 4 роки тому

    Too awesome videos all are, your explanation is addictive and in a simpler terms making us to understand Kubernates, tqsm 😇 love frm India! 💚 🙂😊

  • @SuperFreelibya
    @SuperFreelibya Рік тому

    Thank you. You did a good job.

  • @sruthireddy1979
    @sruthireddy1979 2 роки тому

    very nice video... i enjoyed learning this... thank u SIS :)

  • @饶泽海
    @饶泽海 4 роки тому

    Really really clear explanation, thanks so much!

  • @vera_coder
    @vera_coder 7 місяців тому

    Thank you, awesome infomation

  • @anhquocnguyen1578
    @anhquocnguyen1578 3 роки тому

    Thanks for this awesome video. great explanation about namespace!

  • @saurabhadivarekar2631
    @saurabhadivarekar2631 Рік тому

    Ma'am you're truly a god!!!

  • @kleia1
    @kleia1 4 роки тому

    Very clear and concise - bravo!

  • @sandro_j
    @sandro_j 4 роки тому +1

    Great info, really appreciate the detailed explanations. Thank you for your videos!

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      Thanks a lot Sandro, glad the videos are helpful for you!

  • @SomeInfoSecDude
    @SomeInfoSecDude 3 роки тому

    this is excellent material. U good.

  • @click9000
    @click9000 Рік тому

    Nice and clear!! Thanks

  • @Naveenkumar-hs7ec
    @Naveenkumar-hs7ec Рік тому

    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?

  • @jaykumaranbu7173
    @jaykumaranbu7173 4 роки тому +1

    Great Video Nana! Thank you!

  • @kartheek064
    @kartheek064 4 роки тому +1

    Wow, wonderful.

  • @pramodkumar-hi3hn
    @pramodkumar-hi3hn 4 роки тому +2

    Thank you Mam

  • @manikanthreddy1539
    @manikanthreddy1539 4 роки тому +2

    You are awesome Nana !!
    Could you please make Tutorial series on "Tekton" & "Jenkins X"

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      Very interesting topics, thanks for suggesting it. I will definitely consider it :)

  • @ale19678
    @ale19678 4 роки тому

    What a great resource!!! Thanks a lot

  • @jackvial5591
    @jackvial5591 3 роки тому

    Concise and clear!

  • @aswinfamily
    @aswinfamily 4 роки тому +1

    Your videos are awesome...

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      Thanks Aswin :D

    • @aswinfamily
      @aswinfamily 4 роки тому

      @@TechWorldwithNana Can you put a video for Kubernetes Service Mesh ??

  • @steveaustin6608
    @steveaustin6608 3 роки тому

    Thank you so much nana

  • @NerdTechShop
    @NerdTechShop 4 роки тому +1

    @TechWorld with Nana at 4:55 should you mention logging and mentoring, should that be monitoring?

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      Oh yes that was a mistake, I meant monitoring 😄Thanks for pointing that out!

  • @pavangrandhi
    @pavangrandhi 8 місяців тому

    Thanks a lot Nana

  • @ChennaiCineCuts
    @ChennaiCineCuts 2 роки тому

    Very nice... keep going mam...

  • @larsholdgaard4284
    @larsholdgaard4284 7 місяців тому

    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

  • @MuhammedDahab
    @MuhammedDahab 4 роки тому +1

    thank you very much , best videos , much love

  • @101791862
    @101791862 4 роки тому +8

    On kubens (14:15) i.e. setting a default ns, kubectl config se-context --namespace= should work

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +2

      Yes, thanks for info Theodor. it works with: "kubectl config set-context {context-name} --namespace={ns-name}"

    • @mostinho7
      @mostinho7 4 роки тому +1

      Good update

  • @cloudtech6937
    @cloudtech6937 3 роки тому

    I love your explanation style also your voice I don't see this type of girl around me

  • @din956
    @din956 4 роки тому +1

    Your kubernetes videos are awesome, congrats. How did you get so good at using kubernetes? 😁

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +3

      Thanks a lot Dorin 😊 I guess through a painful, but very interesting process of setting up complex applications on K8s under time pressure 😀

    • @din956
      @din956 4 роки тому +1

      @@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 😁

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      @@din956 Wow great to hear such positive feedback 😊 Thank you so much again. Will definitely keep creating more content for you guys! 😁

  • @DigsWigs2022
    @DigsWigs2022 2 роки тому

    Thank you!!

  • @Amit-qv8cp
    @Amit-qv8cp 8 місяців тому

    Nice explanation of Namespaces, confiMap only can store the namespaces. In order to create a namespace i think we need file with kind: namespace.??

  • @AmarYadav-qq8uu
    @AmarYadav-qq8uu Рік тому

    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.

  • @mubashir1976
    @mubashir1976 2 роки тому

    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!!

  • @bhaskar6705
    @bhaskar6705 4 роки тому +1

    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

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      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

  • @lzhu12
    @lzhu12 4 роки тому

    perfect

  • @RaviKumar-ik8qb
    @RaviKumar-ik8qb 4 роки тому +1

    thanks Nana,great video what is a configmap that you mentioned here

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      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.

    • @RaviKumar-ik8qb
      @RaviKumar-ik8qb 4 роки тому +1

      @@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!!

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      @@RaviKumar-ik8qb Great! :)

  • @ragook3
    @ragook3 Рік тому

    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?

  • @indronil6459
    @indronil6459 3 роки тому

    Awesome

  • @sergeygr
    @sergeygr 4 роки тому

    Hi Nana. Thank you for you videos! What do you think about using Rancher? With Rancher you can separate namespaces in different projects.

  • @manojj1544
    @manojj1544 4 роки тому +1

    You are Super Cute and Awesome!!!! Just a typo @4:50..Thanks for video.

  • @datpm
    @datpm 3 роки тому

    It was perfect!!!

  • @pruibiebehastoet1914
    @pruibiebehastoet1914 2 роки тому

    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 ?

  • @snehotoshbanerjee1938
    @snehotoshbanerjee1938 3 роки тому

    Great video!. I am not able to install kubectx on ubuntu 18. Getting Unable to locate package kubectx.

  • @rajeshdheenan
    @rajeshdheenan 4 роки тому +1

    Could you please explain HA master node concpet in Kubernetes

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      Maybe I will do that in some later video, thanks for your suggestion!

  • @codewithfrenchy
    @codewithfrenchy 4 роки тому

    @nana what tool do u use for ur presentation?

  • @crazyoptimist4540
    @crazyoptimist4540 4 роки тому +1

    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?

    • @crazyoptimist4540
      @crazyoptimist4540 4 роки тому

      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.

  • @amitbist2k2
    @amitbist2k2 3 роки тому

    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.

  • @sudhanshusrivastva4648
    @sudhanshusrivastva4648 3 роки тому

    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

  • @ptxsv8705
    @ptxsv8705 4 роки тому

    I guess dev and production in their own separate cluster is a good idea

  • @cloudtech6937
    @cloudtech6937 3 роки тому

    I have doubts on CNI can prefer to me any documents

  • @cracksaadee
    @cracksaadee 2 роки тому

    How to use secrets in cross namespace.?

  • @amlg.alshinawy3298
    @amlg.alshinawy3298 Рік тому

    where i should place these deploy/configuration yaml files