Kubernetes Namespaces Explained in 15 mins | Kubernetes Tutorial 21

Sdílet
Vložit
  • čas přidán 31. 05. 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 CZcams: 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.

Komentáře • 173

  • @TechWorldwithNana
    @TechWorldwithNana  Před 4 lety +37

    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 Před 3 lety +64

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

    • @Weirlive
      @Weirlive Před 3 lety +2

      this seems easier

    • @romanbobyor
      @romanbobyor Před 2 lety +2

      just before adding the same comment saw this one :)

    • @Oxxygen_io
      @Oxxygen_io Před 2 lety +1

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

    • @hcompres1
      @hcompres1 Před 2 lety

      How to rename at namespace at aks ?

  • @Antebios
    @Antebios Před 4 lety +34

    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.

  • @user-fd3yr5eo4g
    @user-fd3yr5eo4g Před 11 dny

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

  • @AviadShalom
    @AviadShalom Před rokem

    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.

  • @rjain0611
    @rjain0611 Před 3 lety

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

  • @ananthasubramanian938
    @ananthasubramanian938 Před rokem +1

    Bookmarked your channel. Love the simplicity and the information.

  • @abilashkp2243
    @abilashkp2243 Před rokem

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

  • @vignesht9055
    @vignesht9055 Před 9 měsíci

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

  • @thomasmiller2747
    @thomasmiller2747 Před 3 lety +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!!

  • @christophercatchings162

    Great simplified breakdown. Thanks!

  • @normandy1140
    @normandy1140 Před 3 lety

    Thanks, Nana! Great video. Perfect for 5am studies.

  • @joelamks
    @joelamks Před 3 lety

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

  • @satyasid
    @satyasid Před 2 lety

    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.

  • @karthikkarthik100
    @karthikkarthik100 Před rokem

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

  • @Sai2k
    @Sai2k Před rokem

    akkaaaa nuv super! masth clear chepinav le

  • @Admiral.MacDonnell
    @Admiral.MacDonnell Před 3 lety +1

    Excellent job! Very well presented. Not to mention you post new contents every week. I just subscribed!

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety

      Thank you Simon! This just warms my heart. Please stay safe and well. 🙂

  • @armanavasthi
    @armanavasthi Před 3 lety +2

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

  • @StormWolf01
    @StormWolf01 Před 4 lety +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  Před 4 lety +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 :)

  • @naumanzafar7922
    @naumanzafar7922 Před 3 lety +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.

  • @sajidali-th1dg
    @sajidali-th1dg Před 3 lety +2

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

  • @connect-learn-deliver
    @connect-learn-deliver Před 3 lety

    Excellent, adapted an easy scenario to understand things.

  • @mostinho7
    @mostinho7 Před 3 lety +2

    Done thanks, took notes in onenote

  • @user-pn4iz7ns1v
    @user-pn4iz7ns1v Před 3 lety

    Really really clear explanation, thanks so much!

  • @manideepkumar959
    @manideepkumar959 Před 11 měsíci

    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"

  • @kleia1
    @kleia1 Před 3 lety

    Very clear and concise - bravo!

  • @mjnyc88
    @mjnyc88 Před 3 lety +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

  • @harishkrish14386
    @harishkrish14386 Před 3 lety

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

  • @shaileshchaskar6093
    @shaileshchaskar6093 Před 2 lety

    Amazing and precise info about Kubernetes Namespaces

  • @ewsdneax61eaxe10
    @ewsdneax61eaxe10 Před rokem

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

  • @anhquocnguyen1578
    @anhquocnguyen1578 Před 2 lety

    Thanks for this awesome video. great explanation about namespace!

  • @Naveenkumar-hs7ec
    @Naveenkumar-hs7ec Před rokem

    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?

  • @pgnitc
    @pgnitc Před 3 lety

    Nice video and you explained it very clearly.

  • @sathchithanand
    @sathchithanand Před rokem

    You are fantastic teacher

  • @rokofromhell9264
    @rokofromhell9264 Před 4 lety +1

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

  • @mathewkargarzadeh3158
    @mathewkargarzadeh3158 Před 4 lety +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.

  • @harishdevarapalli1537
    @harishdevarapalli1537 Před 4 lety +1

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

  • @azizurrehman9525
    @azizurrehman9525 Před měsícem

    GREAT WORK MA'AM...

  • @mycoinscollections
    @mycoinscollections Před 3 lety +1

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

  • @JamesFraley
    @JamesFraley Před 2 lety

    Very good information. Thank you

  • @matteobarnaba6518
    @matteobarnaba6518 Před rokem

    You are simply great. Congrats and thanks 😊

  • @sandro_j
    @sandro_j Před 4 lety +1

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

  • @SethArt
    @SethArt Před 4 lety +2

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

  • @balakuruva2964
    @balakuruva2964 Před 4 lety +1

    simple and clear info,thanks Nana

  • @SuperFreelibya
    @SuperFreelibya Před rokem

    Thank you. You did a good job.

  • @mohammadharrismokhtar6626

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

  • @SaWi12
    @SaWi12 Před 4 lety +2

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

  • @MrPiGSkiN85
    @MrPiGSkiN85 Před 3 lety

    Thank you very much for the video 😄😄

  • @jaykumaranbu7173
    @jaykumaranbu7173 Před 4 lety +1

    Great Video Nana! Thank you!

  • @click9000
    @click9000 Před 11 měsíci

    Nice and clear!! Thanks

  • @Shubham__Saroj
    @Shubham__Saroj Před rokem +1

    kubens is great time saver ☺️ Thanks

  • @sruthireddy1979
    @sruthireddy1979 Před rokem

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

  • @MichaelJones-ff9gb
    @MichaelJones-ff9gb Před 4 lety +1

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

  • @SomeInfoSecDude
    @SomeInfoSecDude Před 3 lety

    this is excellent material. U good.

  • @ale19678
    @ale19678 Před 3 lety

    What a great resource!!! Thanks a lot

  • @and1play5
    @and1play5 Před 4 lety +1

    OMFG NOW I FINALLY UNDERSTAND NAMESPACES, THANK UUUUUUUUUU

  • @ChennaiCineCuts
    @ChennaiCineCuts Před 2 lety

    Very nice... keep going mam...

  • @jackvial5591
    @jackvial5591 Před 3 lety

    Concise and clear!

  • @abhisheksurwariya
    @abhisheksurwariya Před 3 lety +1

    You doing so good work. Thank you

  • @Dahai110
    @Dahai110 Před 3 lety +1

    very helpful video, thanks!

  • @mubashir1976
    @mubashir1976 Před rokem

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

  • @pavangrandhi
    @pavangrandhi Před 16 dny

    Thanks a lot Nana

  • @MadhuExplorer
    @MadhuExplorer Před 4 lety +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.

  • @manikanthreddy1539
    @manikanthreddy1539 Před 3 lety +2

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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +1

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

  • @steveaustin6608
    @steveaustin6608 Před 2 lety

    Thank you so much nana

  • @saurabhadivarekar2631
    @saurabhadivarekar2631 Před 9 měsíci

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

  • @sergeygr
    @sergeygr Před 3 lety

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

  • @DigsWigs2022
    @DigsWigs2022 Před 2 lety

    Thank you!!

  • @pramodkumar-hi3hn
    @pramodkumar-hi3hn Před 4 lety +2

    Thank you Mam

  • @MuhammedDahab
    @MuhammedDahab Před 4 lety +1

    thank you very much , best videos , much love

  • @kartheek064
    @kartheek064 Před 3 lety +1

    Wow, wonderful.

  • @cloudtech6937
    @cloudtech6937 Před 3 lety

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

  • @aswinfamily
    @aswinfamily Před 3 lety +1

    Your videos are awesome...

  • @Amit-qv8cp
    @Amit-qv8cp Před 21 dnem

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

  • @amitbist2k2
    @amitbist2k2 Před 3 lety

    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.

  • @bhaskar6705
    @bhaskar6705 Před 4 lety +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  Před 4 lety

      Thanks a lot for your feedback. Sure, you can set up Minikube locally pretty easily. Here the link to my Minikube setup video: czcams.com/video/E2pP1MOfo3g/video.html

  • @101791862
    @101791862 Před 4 lety +8

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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +2

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

    • @mostinho7
      @mostinho7 Před 3 lety +1

      Good update

  • @indronil6459
    @indronil6459 Před 3 lety

    Awesome

  • @datpm
    @datpm Před 3 lety

    It was perfect!!!

  • @sudhanshusrivastva4648

    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

  • @ragook3
    @ragook3 Před 8 měsíci

    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?

  • @AmarYadav-qq8uu
    @AmarYadav-qq8uu Před rokem

    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.

  • @lzhu12
    @lzhu12 Před 3 lety

    perfect

  • @AllInOneIdeasShop
    @AllInOneIdeasShop Před 4 lety +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety

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

  • @din956
    @din956 Před 3 lety +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +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 Před 3 lety +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  Před 3 lety +1

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

  • @snehotoshbanerjee1938
    @snehotoshbanerjee1938 Před 3 lety

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

  • @RaviKumar-ik8qb
    @RaviKumar-ik8qb Před 4 lety +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety

      It's an external configuration to your application. I explained it here: czcams.com/video/Krpb44XR0bk/video.html or in this video czcams.com/video/EQNO_kM96Mo/video.html you see how a configmap is used in practice, which also helps in understanding.

    • @RaviKumar-ik8qb
      @RaviKumar-ik8qb Před 4 lety +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  Před 4 lety

      @@RaviKumar-ik8qb Great! :)

  • @snehasrinivasan2668
    @snehasrinivasan2668 Před 3 lety

    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?

  • @codewithfrenchy
    @codewithfrenchy Před 3 lety

    @nana what tool do u use for ur presentation?

  • @pruibiebehastoet1914
    @pruibiebehastoet1914 Před rokem

    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 ?

  • @manojj1544
    @manojj1544 Před 3 lety +1

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

  • @crazyoptimist4540
    @crazyoptimist4540 Před 3 lety +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 Před 3 lety

      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.

  • @rajeshdheenan
    @rajeshdheenan Před 4 lety +1

    Could you please explain HA master node concpet in Kubernetes

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety

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

  • @stdio9965
    @stdio9965 Před 3 lety

    what do u think that is why

  • @amlg.alshinawy3298
    @amlg.alshinawy3298 Před rokem

    where i should place these deploy/configuration yaml files

  • @debdutsaha4316
    @debdutsaha4316 Před 3 lety

    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.

  • @cloudtech6937
    @cloudtech6937 Před 3 lety

    I have doubts on CNI can prefer to me any documents

  • @prashantchoudhary8813
    @prashantchoudhary8813 Před 2 lety +1

    commenting for better reach.

  • @abirami3651
    @abirami3651 Před rokem

    How much memory allotted for a namespace

  • @ptxsv8705
    @ptxsv8705 Před 3 lety

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