rpk container status
Get the status of a local container cluster, including the node IDs, ports, and running state of each broker.
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |
Example
If you’re following Quick Start - Deploy Redpanda to Docker with Three Nodes, you can run rpk container status to see more information about your containers.
Example
rpk container status
NODE-ID STATUS KAFKA-ADDRESS ADMIN-ADDRESS PROXY-ADDRESS SCHEMA-REGISTRY-ADDRESS
0 running 127.0.0.1:9092 127.0.0.1:9644 127.0.0.1:8082 127.0.0.1:8081
Redpanda Console started in: http://localhost:8080
You can use rpk to interact with this cluster. E.g:
rpk cluster info
rpk cluster health
You may also set an environment variable with the comma-separated list of
broker addresses:
export RPK_BROKERS="127.0.0.1:34189,127.0.0.1:45523,127.0.0.1:37223"
rpk cluster info