rpk container status

Get a local container’s status.

Usage

rpk container status [flags]

Example

If you’re following QuickStart - Deploy Redpanda to Docker with Three Nodes, you can run rpk container status to see more information about your containers:

$ rpk container status
    NODE-ID  STATUS   KAFKA-ADDRESS    ADMIN-ADDRESS    PROXY-ADDRESS
    0        running  127.0.0.1:34189  127.0.0.1:36539  127.0.0.1:41235
    1        running  127.0.0.1:45523  127.0.0.1:35135  127.0.0.1:40155
    2        running  127.0.0.1:37223  127.0.0.1:42571  127.0.0.1:41907

You can use rpk to interact with this cluster. For example:

    rpk cluster info --brokers 127.0.0.1:34189,127.0.0.1:45523,127.0.0.1:37223

You may also set an environment variable with the comma-separated list of
broker addresses:

    export REDPANDA_BROKERS="127.0.0.1:34189,127.0.0.1:45523,127.0.0.1:37223"
    rpk cluster info

Flags

Value Type Description

-h, --help

-

Help for status.

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail.

--profile

string

rpk profile to use.

-v, --verbose

-

Enable verbose logging.