Agentic Data Plane

rpk ai budget create agent-tags

Create one budget shared by every agent whose tags match. An agent matches a --tag when its value for that key is one of the listed values, and must match every --tag given. An agent tagged later joins the budget.

Usage

rpk ai budget create agent-tags [flags]

Examples

This section provides examples of how to use rpk ai budget create agent-tags.

rpk ai budget create agent-tags --tag team=payments,billing --period monthly --limit-usd 2000 --warn-at-usd 1600
rpk ai budget create agent-tags --tag team=payments --tag env=prod --period monthly --limit-usd 500 --warn-at-usd 400

Flags

Value Type Description

--display-name

string

Display name.

--dry-run

bool

print the request that would be sent (with the computed update mask) and exit without calling the server.

--limit-microcents

int

Limit microcents.

--limit-usd

string

positive USD amount with up to 8 decimal places; alternative to --limit-microcents (for example, 12.50).

--name

string

Budget ID. Defaults to an ID derived from what the budget covers and the period.

--notification-user-ids

strings

See Budget.notification_user_ids. (repeatable; replaces the full list on update).

--period

string

Period. (one of: daily, weekly, monthly; required).

--tag

stringArray

KEY=VALUE[,VALUE…​] the agents must carry; repeat to require several keys.

--tags

stringArray

Budget metadata labels (repeatable key=value); not the agents the budget covers.

--warn-at-microcents

int

Warn at microcents.

--warn-at-usd

string

positive USD amount with up to 8 decimal places; alternative to --warn-at-microcents (for example, 12.50).

Global flags

Value Type Description

--config

string

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

-X, --config-opt

stringArray

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

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.