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.

Комментарии • 175

  • @TechWorldwithNana
    @TechWorldwithNana  4 года назад +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 3 года назад +64

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

    • @Weirlive
      @Weirlive 3 года назад +2

      this seems easier

    • @romanbobyor
      @romanbobyor 3 года назад +2

      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 2 года назад

      How to rename at namespace at aks ?

  • @Antebios
    @Antebios 4 года назад +35

    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.

  • @christophercatchings162
    @christophercatchings162 3 года назад

    Great simplified breakdown. Thanks!

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

  • @normandy1140
    @normandy1140 3 года назад

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

  • @rjain0611
    @rjain0611 3 года назад

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

  • @vignesht9055
    @vignesht9055 10 месяцев назад

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

  • @abilashkp2243
    @abilashkp2243 Год назад

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

  • @ananthasubramanian938
    @ananthasubramanian938 Год назад +1

    Bookmarked your channel. Love the simplicity and the information.

  • @kleia1
    @kleia1 3 года назад

    Very clear and concise - bravo!

  • @joelamks
    @joelamks 3 года назад

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

  • @user-pn4iz7ns1v
    @user-pn4iz7ns1v 3 года назад

    Really really clear explanation, thanks so much!

  • @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 :)

  • @mostinho7
    @mostinho7 4 года назад +2

    Done thanks, took notes in onenote

  • @sajidali-th1dg
    @sajidali-th1dg 3 года назад +2

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

  • @connect-learn-deliver
    @connect-learn-deliver 3 года назад

    Excellent, adapted an easy scenario to understand things.

  • @satyasid
    @satyasid 2 года назад

    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.

  • @harishdevarapalli1537
    @harishdevarapalli1537 4 года назад +1

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

  • @shaileshchaskar6093
    @shaileshchaskar6093 2 года назад

    Amazing and precise info about Kubernetes Namespaces

  • @and1play5
    @and1play5 4 года назад +1

    OMFG NOW I FINALLY UNDERSTAND NAMESPACES, THANK UUUUUUUUUU

  • @sathchithanand
    @sathchithanand Год назад

    You are fantastic teacher

  • @ale19678
    @ale19678 3 года назад

    What a great resource!!! Thanks a lot

  • @anhquocnguyen1578
    @anhquocnguyen1578 2 года назад

    Thanks for this awesome video. great explanation about namespace!

  • @karthikkarthik100
    @karthikkarthik100 Год назад

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

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

  • @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.

  • @Admiral.MacDonnell
    @Admiral.MacDonnell 3 года назад +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  3 года назад

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

  • @matteobarnaba6518
    @matteobarnaba6518 2 года назад

    You are simply great. Congrats and thanks 😊

  • @Sai2k
    @Sai2k Год назад

    akkaaaa nuv super! masth clear chepinav le

  • @click9000
    @click9000 Год назад

    Nice and clear!! Thanks

  • @rokofromhell9264
    @rokofromhell9264 4 года назад +1

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

  • @jackvial5591
    @jackvial5591 3 года назад

    Concise and clear!

  • @SuperFreelibya
    @SuperFreelibya Год назад

    Thank you. You did a good job.

  • @jaykumaranbu7173
    @jaykumaranbu7173 4 года назад +1

    Great Video Nana! Thank you!

  • @JamesFraley
    @JamesFraley 2 года назад

    Very good information. Thank you

  • @pgnitc
    @pgnitc 3 года назад

    Nice video and you explained it very clearly.

  • @azizurrehman9525
    @azizurrehman9525 2 месяца назад

    GREAT WORK MA'AM...

  • @harishkrish14386
    @harishkrish14386 3 года назад

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

  • @mohammadharrismokhtar6626
    @mohammadharrismokhtar6626 3 года назад +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  3 года назад

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

  • @balakuruva2964
    @balakuruva2964 4 года назад +1

    simple and clear info,thanks Nana

  • @naumanzafar7922
    @naumanzafar7922 3 года назад +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.

  • @user-fd3yr5eo4g
    @user-fd3yr5eo4g Месяц назад

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

  • @Dahai110
    @Dahai110 3 года назад +1

    very helpful video, thanks!

  • @vera_coder
    @vera_coder 26 дней назад

    Thank you, awesome infomation

  • @ewsdneax61eaxe10
    @ewsdneax61eaxe10 2 года назад

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

  • @MrPiGSkiN85
    @MrPiGSkiN85 3 года назад

    Thank you very much for the video 😄😄

  • @armanavasthi
    @armanavasthi 3 года назад +2

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

  • @mjnyc88
    @mjnyc88 3 года назад +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

  • @SomeInfoSecDude
    @SomeInfoSecDude 3 года назад

    this is excellent material. U good.

  • @SethArt
    @SethArt 4 года назад +2

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

  • @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.

  • @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"

  • @abhisheksurwariya
    @abhisheksurwariya 3 года назад +1

    You doing so good work. Thank you

  • @saurabhadivarekar2631
    @saurabhadivarekar2631 10 месяцев назад

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

  • @mycoinscollections
    @mycoinscollections 3 года назад +1

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

  • @Shubham__Saroj
    @Shubham__Saroj Год назад +1

    kubens is great time saver ☺️ Thanks

  • @steveaustin6608
    @steveaustin6608 2 года назад

    Thank you so much nana

  • @kartheek064
    @kartheek064 3 года назад +1

    Wow, wonderful.

  • @MuhammedDahab
    @MuhammedDahab 4 года назад +1

    thank you very much , best videos , much love

  • @SaWi12
    @SaWi12 4 года назад +2

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

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

  • @sruthireddy1979
    @sruthireddy1979 Год назад

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

  • @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?

  • @ChennaiCineCuts
    @ChennaiCineCuts 2 года назад

    Very nice... keep going mam...

  • @pavangrandhi
    @pavangrandhi Месяц назад

    Thanks a lot Nana

  • @DigsWigs2022
    @DigsWigs2022 2 года назад

    Thank you!!

  • @pramodkumar-hi3hn
    @pramodkumar-hi3hn 4 года назад +2

    Thank you Mam

  • @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.

  • @datpm
    @datpm 3 года назад

    It was perfect!!!

  • @manikanthreddy1539
    @manikanthreddy1539 3 года назад +2

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

    • @TechWorldwithNana
      @TechWorldwithNana  3 года назад +1

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

  • @larsholdgaard4284
    @larsholdgaard4284 14 дней назад

    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

  • @aswinfamily
    @aswinfamily 3 года назад +1

    Your videos are awesome...

    • @TechWorldwithNana
      @TechWorldwithNana  3 года назад +1

      Thanks Aswin :D

    • @aswinfamily
      @aswinfamily 3 года назад

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

  • @indronil6459
    @indronil6459 3 года назад

    Awesome

  • @lzhu12
    @lzhu12 3 года назад

    perfect

  • @cloudtech6937
    @cloudtech6937 3 года назад

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

  • @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: ruclips.net/video/E2pP1MOfo3g/видео.html

  • @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 Год назад

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

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

  • @sergeygr
    @sergeygr 3 года назад

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

  • @Amit-qv8cp
    @Amit-qv8cp Месяц назад

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

  • @ragook3
    @ragook3 9 месяцев назад

    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?

  • @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.

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

  • @din956
    @din956 3 года назад +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  3 года назад +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 3 года назад +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  3 года назад +1

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

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

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

  • @manojj1544
    @manojj1544 4 года назад +1

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

  • @snehotoshbanerjee1938
    @snehotoshbanerjee1938 3 года назад

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

  • @stdio9965
    @stdio9965 3 года назад

    what do u think that is why

  • @ptxsv8705
    @ptxsv8705 3 года назад

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

  • @snehasrinivasan2668
    @snehasrinivasan2668 4 года назад

    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?

  • @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: 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.

    • @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! :)

  • @codewithfrenchy
    @codewithfrenchy 3 года назад

    @nana what tool do u use for ur presentation?

  • @cloudtech6937
    @cloudtech6937 3 года назад

    I have doubts on CNI can prefer to me any documents

  • @prashantchoudhary8813
    @prashantchoudhary8813 2 года назад +1

    commenting for better reach.

  • @crazyoptimist4540
    @crazyoptimist4540 3 года назад +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 3 года назад

      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.

  • @cracksaadee
    @cracksaadee Год назад

    How to use secrets in cross namespace.?

  • @debdutsaha4316
    @debdutsaha4316 3 года назад

    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.