list-pods-in-namespace

List all pods in a Kubernetes namespace with their current status.

3|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/X-McKay/kubani --skill list-pods-in-namespace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: list-pods-in-namespace
Source: https://github.com/X-McKay/kubani/tree/main/kubani/skills/k8s/collection/list-pods-in-namespace
Command: npx skills add https://github.com/X-McKay/kubani --skill list-pods-in-namespace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a clear overview of all running pods within a specified Kubernetes namespace, helping to quickly assess workload status and identify potential issues.

Core Features & Use Cases

  • Namespace Pod Listing: Retrieves a list of all pods deployed in a given Kubernetes namespace.
  • Status Overview: Displays the current status of each pod (e.g., Running, Pending, CrashLoopBackOff).
  • Workload Health Check: Enables rapid assessment of the overall health of applications deployed in a namespace.
  • Use Case: Before deploying a new service, use this Skill to check the status of existing pods in the target namespace to ensure a stable environment.

Quick Start

Use the list-pods-in-namespace skill to get a list of all pods in the 'development' namespace.

Frequently Asked Questions about list-pods-in-namespace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list pods in a Kubernetes namespace to check workload status?

To list pods in a Kubernetes namespace, query the Kubernetes API endpoint to retrieve all pods and display their current status. This provides a clear overview of running workloads and helps identify potential deployment issues.

What is the best way to monitor Kubernetes pods for health issues before deploying a new service?

Monitoring Kubernetes pods before a deployment involves listing all existing pods in the target namespace to assess their health. This verifies a stable environment by detailing status states like Running or Pending.

Can I check the status of specific pods in a k8s namespace using the API?

Yes, you can check pod status in a k8s namespace by querying the Kubernetes API. It retrieves a list of all pods within the specified namespace and details their current health and operational state.

Do I need Kubernetes API access to retrieve a list of pods in a namespace?

Yes, retrieving a list of pods in a namespace requires access to a Kubernetes API endpoint. This access is necessary to query the cluster for pod information and detail their current workload status.

Why are my Kubernetes pods stuck in a Pending or CrashLoopBackOff state in my namespace?

To find out why pods are stuck in Pending or CrashLoopBackOff states, retrieve a list of pods in the namespace to check their current status. This helps diagnose operational issues by showing the health of deployed workloads.