rpk container status
Get a local container’s status.
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 |
---|---|---|
|
- |
Help for status. |
|
string |
Redpanda or rpk config file; default search paths are |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |
Was this helpful?