Search⌘ K
AI Features

Running Resources in a Different Namespace

Explore how to organize and manage Kubernetes resources by running them in different namespaces. Understand how to use the kubectl -n flag and manifest files to specify namespaces, enabling you to isolate pods and resources effectively. This lesson helps you gain practical skills in applying configurations across multiple namespaces for better resource management.

We'll cover the following...

Defining a resource

There are two different ways to define the namespace to run a resource in. We can simply use the -n flag when we run kubectl apply, or we can define that in the resource’s manifest. ...