Docs Self-Managed Reference rpk Commands rpk cluster rpk cluster quotas rpk cluster quotas alter This is documentation for Self-Managed v24.2. To view the latest available version of the docs, see v24.3. rpk cluster quotas alter Add or delete a client quota. A client quota consists of an entity (to which the quota is applied) and a quota type (what is being applied). There are two entity types supported by Redpanda: client ID and client ID prefix. Use the --default flag to assign quotas to default entity types. You can perform a dry run using the --dry flag. Usage rpk cluster quotas alter [flags] Flags Value Type Description --add strings Key=value quota to add, where the value is a float number (repeatable). --default strings Entity type for default matching, where type is client-id or client-id-prefix (repeatable). --delete strings Key of the quota to delete (repeatable). --dry - Key of the quota to delete (repeatable). --format string Output format. Possible values: json, yaml, text, wide, help. Default: text. -h, --help - Help for alter. --name strings Entity for exact matching. Format type=name where type is the client-id or client-id-prefix (repeatable). --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. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Examples Add quota (consumer_byte_rate) to client ID <foo>: rpk cluster quotas alter --add consumer_byte_rate=200000 --name client-id=<foo> Add quota (consumer_byte_rate) to client ID starting with <bar>-: rpk cluster quotas alter --add consumer_byte_rate=200000 --name client-id-prefix=<bar>- Add quota (producer_byte_rate) to default client ID: rpk cluster quotas alter --add producer_byte_rate=180000 --default client-id Remove quota (producer_byte_rate) from client ID foo: rpk cluster quotas alter --delete producer_byte_rate --name client-id=<foo> Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk cluster quotas rpk cluster quotas describe