Command

Kubernetes List a Deployment Command

The Kubernetes command to list a deployment is kubectl get deployment my-dep.

Quick Answer

Command
kubectl get deployment my-dep
KubernetesCommand

List a Deployment

Type this command
kubectl get deployment my-dep

Lists a particular deployment.

Learn More

How to list a deployment in Kubernetes

  1. Open the terminal or command interface for Kubernetes.
  2. Type kubectl get deployment my-dep, replace any placeholders, and run it.

Kubernetes List a Deployment Command

Run kubectl get deployment my-dep.

Related Commands

Frequently asked questions

What is the Kubernetes command to list a deployment?

Run kubectl get deployment my-dep.

Where do I type this Kubernetes command?

Type it in the terminal or command-line interface used by Kubernetes.

Does this Kubernetes command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify