create_budget
Create budget rules in Kubecost to monitor and control Kubernetes cluster spending by setting spending limits and configuring alerts for cost overruns.
Instructions
Create a new budget rule in Kubecost
Input Schema
Name | Required | Description | Default |
---|---|---|---|
actions | Yes | ||
interval | Yes | ||
intervalDay | Yes | ||
kind | Yes | ||
name | Yes | ||
spendLimit | Yes | ||
values | Yes |
Input Schema (JSON Schema)
{
"properties": {
"actions": {
"items": {
"additionalProperties": false,
"properties": {
"emails": {
"items": {
"type": "string"
},
"type": "array"
},
"msTeamsWebhooks": {
"items": {
"type": "string"
},
"type": "array"
},
"percentage": {
"type": "number"
},
"slackWebhooks": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"percentage"
],
"type": "object"
},
"type": "array"
},
"interval": {
"enum": [
"weekly",
"monthly"
],
"type": "string"
},
"intervalDay": {
"type": "number"
},
"kind": {
"enum": [
"soft",
"hard"
],
"type": "string"
},
"name": {
"type": "string"
},
"spendLimit": {
"type": "number"
},
"values": {
"additionalProperties": false,
"properties": {
"cluster": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object"
},
"namespace": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"required": [
"name",
"values",
"kind",
"interval",
"intervalDay",
"spendLimit",
"actions"
],
"type": "object"
}