Skip to main content
Version: 22.3

rpk redpanda admin partitions list

List the partitions in a broker in the cluster.

Usage

rpk redpanda admin partitions list [BROKER ID] [flags]

Aliases

list, ls

Flags

Value Type Description
-h, --help- Help for list.
-l, --leader-only- print the partitions on broker which are leaders.
--admin-api-tls-certstringThe certificate to be used for TLS authentication with the Admin API.
--admin-api-tls-enabled-Enable TLS for the Admin API (not necessary if specifying custom certs).
--admin-api-tls-keystringThe certificate key to be used for TLS authentication with the Admin API.
--admin-api-tls-truststorestringThe truststore to be used for TLS communication with the Admin API.
--configstringrpk config file, if not set the file will be searched for in the default locations.
--hostsstringsA comma-separated list of Admin API addresses (<ip>:<port> You must specify one for each node.
-v, --verbose-Enable verbose logging (default false).