Skip to main content
In this tutorial, we’ll deploy a Kubernetes Pod named nginx to a Minikube cluster using kubectl. You’ll learn how to create the Pod, inspect its status, view detailed descriptions, and retrieve extended information. Let’s get started!

Prerequisites

  • A running Minikube cluster (minikube start)
  • kubectl configured to communicate with your Minikube context
  • Internet access to pull the nginx image from Docker Hub

1. Create a Pod with kubectl run

Execute the following command to launch a Pod named nginx using the official NGINX image:
Here:
  • nginx is both the Pod name and the container image.
  • You can append a tag (for example, nginx:1.21) or a custom registry URL if needed.

2. Check Pod Status

After a moment, confirm the Pod has been created:
Example output:

3. Describe a Pod

To inspect detailed metadata, events, and container status:
You’ll see sections like metadata, labels, node assignment, IP addresses, and container details:
Pod networking and IP addressing will be explored in detail in a later lesson.

Events Log

Scrolling further down in the description reveals the event sequence:

4. Get Extended (“Wide”) Output

To include the node name and the Pod’s IP address in your listing:
Sample output:
Every Pod receives a unique internal IP within the cluster network.
In this lesson, you deployed an NGINX Pod on Minikube, inspected its state, and viewed detailed and wide outputs. Next, we’ll define Pods declaratively using YAML manifests.

Watch Video