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.
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 |
|---|---|---|
|
string |
Display name. |
|
bool |
print the request that would be sent (with the computed update mask) and exit without calling the server. |
|
int |
Limit microcents. |
|
string |
positive USD amount with up to 8 decimal places; alternative to |
|
string |
Budget ID. Defaults to an ID derived from what the budget covers and the period. |
|
strings |
See Budget.notification_user_ids. (repeatable; replaces the full list on update). |
|
string |
Period. (one of: daily, weekly, monthly; required). |
|
stringArray |
KEY=VALUE[,VALUE…] the agents must carry; repeat to require several keys. |
|
stringArray |
Budget metadata labels (repeatable key=value); not the agents the budget covers. |
|
int |
Warn at microcents. |
|
string |
positive USD amount with up to 8 decimal places; alternative to |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |