Command

Kubernetes Show Cluster Info Command

The Kubernetes command to show cluster info is kubectl cluster-info.

Quick Answer

Command
kubectl cluster-info
KubernetesCommand

Show Cluster Info

Type this command
kubectl cluster-info

Displays the addresses of the control plane and services.

Learn More

How to show cluster info in Kubernetes

  1. Open the terminal or command interface for Kubernetes.
  2. Type kubectl cluster-info, replace any placeholders, and run it.

Kubernetes Show Cluster Info Command

Run kubectl cluster-info.

Related Commands

Frequently asked questions

What is the Kubernetes command to show cluster info?

Run kubectl cluster-info.

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