From the course: Kubernetes Essential Training: Application Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Namespaces in Kubernetes

Namespaces in Kubernetes - Kubernetes Tutorial

From the course: Kubernetes Essential Training: Application Development

Start my 1-month free trial

Namespaces in Kubernetes

- [Instructor] In this chapter, I'm going to talk about some of the more advanced Kubernetes features that we can use to build sophisticated execution environments for our apps. The first thing we're going to look at is namespaces. Like they sound, they're a place where we can logically store our resources. I can make a pod, a service, or a ConfigMap in a namespace. In fact, we've been using namespaces all along. If we don't specify one, we use the default namespace called well, default. Kubernetes is nothing if not consistent. So namespaces are resources, just like any other. We can see them with kubectl get namespaces. So there's the default namespace. And actually four others here, all used by system components. These are a bit like the system32 folder on windows or the live directory on Unix. They hide operating system staff out of the way. So what are namespaces for? Well, there are useful organizational…

Contents