Member-only story

CKAD 02 — Creating and Managing Pods in a Namespace

Jorge Freitas
5 min readOct 30, 2024

--

Photo by Dawit on Unsplash

In Kubernetes, managing and troubleshooting pods within namespaces is a critical skill. This article, the second in a series of exercises for the CKAD certification, focuses on creating a pod in a specific namespace, troubleshooting image issues, and interacting with the pod’s container. By following this step-by-step guide, you’ll strengthen your foundational skills in Kubernetes resource management and debugging, essential for CKAD success.

Prerequisite

Ensure you have Minikube set up and running on your system. If you’re just getting started, refer to my setup guides:

Exercise Steps

In this exercise, you’ll create a pod in a namespace, troubleshoot a container image issue, and perform basic operations within the container.

Step 1: Create the Namespace

First, create a namespace called ckad-prep. Namespaces allow you to organize resources and isolate workloads within your cluster, making it easier to manage and troubleshoot specific environments.

kubectl create namespace ckad-prep

--

--

No responses yet