rpk cluster fencing
| This command is only supported in BYOC and Dedicated clusters. |
Manage fencing of the cluster.
Fencing rejects new writes and changes to user topics, consumer groups, Schema Registry, ACLs, and roles. Use it on the source cluster of a Shadow Link before you fail over the link.
| This command was introduced in version v26.3.1. |
Subcommands
| Command | Description |
|---|---|
Manage the fencing settings. The settings decide what fencing covers and which fetches it blocks. |
|
Disable fencing of the cluster. After you disable fencing, the cluster accepts writes, changes, and fetches again. |
|
Enable fencing to reject new writes. Fencing rejects new writes and changes to user topics, consumer groups, Schema Registry, ACLs, and roles. |
|
Get the fencing status of the cluster. The command shows fencing as the controller leader has it. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |