From the course: Learning Kubernetes
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Create a namespace - Kubernetes Tutorial
From the course: Learning Kubernetes
Create a namespace
- [Narrator] Kubernetes name spaces let you isolate and organize your workloads. When you use Kubernetes, you'll probably want to create different name spaces to organize your applications and microservices. For example, if you have your development and production environments running in the same Kubernetes cluster, you can separate your applications running in each environment by deploying them into a name space called development, and a different one called production. Before we create our own name space, let's review the ones that come with a Kubernetes cluster by default. Let's run kubectl get namespaces, and we see the four that we talked about in our earlier video. Now let's take a look at a Kubernetes manifest for a name space. This manifest is five lines long, and the only thing you need to worry about is the name field. This name space will be called development. Let's create this name space from the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Reading and writing YAML5m 1s
-
(Locked)
Create a namespace2m 34s
-
(Locked)
Deploy an application4m 11s
-
(Locked)
Check the health of a pod by looking at the event logs1m 41s
-
(Locked)
Check that your application is working with BusyBox5m 48s
-
(Locked)
View your application logs1m 16s
-
(Locked)
Challenge1m 5s
-
(Locked)
Solution5m 44s
-
-
-
-
-