Kubecost · Schema

BudgetAction

Cloud CostCost MonitoringKubernetesOptimizationSpending

Properties

Name Type Description
threshold number Percentage threshold (0-1) at which the action triggers.
type string Type of notification channel.
target string Target for the notification (email address, webhook URL, etc.).
View JSON Schema on GitHub

JSON Schema

kubecost-budgetaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BudgetAction",
  "title": "BudgetAction",
  "type": "object",
  "properties": {
    "threshold": {
      "type": "number",
      "description": "Percentage threshold (0-1) at which the action triggers."
    },
    "type": {
      "type": "string",
      "enum": [
        "email",
        "slack",
        "msteams"
      ],
      "description": "Type of notification channel."
    },
    "target": {
      "type": "string",
      "description": "Target for the notification (email address, webhook URL, etc.)."
    }
  }
}