com um clique
sapcc-autoscaling
// Autoscaling operations via Castellum. Triggers: autoscaling, castellum, resize, scaling, threshold, auto-resize, capacity management. NOT for: manual quota changes (use sapcc-quota/Limes).
// Autoscaling operations via Castellum. Triggers: autoscaling, castellum, resize, scaling, threshold, auto-resize, capacity management. NOT for: manual quota changes (use sapcc-quota/Limes).
Audit trail investigation on SAP Converged Cloud using Hermes. Triggers: audit, who changed, what happened, hermes, events, compliance, CADF, activity log, trace action, who did, what was done, event history
Bare metal node operations via Ironic. Triggers: baremetal, bare metal, ironic, node, provision state, hardware, physical server. NOT for: virtual servers (use sapcc-compute/Nova).
Manage compute instances on SAP Converged Cloud. Covers server lifecycle, flavor selection, status transitions, and cross-service correlation with networking and storage. Use when: listing VMs, checking server status, debugging instance issues, performing server actions (start/stop/reboot), selecting flavors, or investigating why a server won't start. NOT for container workloads (use sapcc-registry) or bare metal.
Archer endpoint service management for private network connectivity in SAP Converged Cloud. Triggers: endpoint service, private link, archer, private connectivity, service endpoint, internal access, cross-project access
DNS zone and recordset operations via Designate. Triggers: dns, zone, recordset, domain, designate. NOT for: network ports, floating IPs (use sapcc-networking).
Email service operations via Cronus. Triggers: email, cronus, smtp, template, email usage, sending. NOT for: monitoring alerts (use sapcc-metrics/Maia).
| name | sapcc-autoscaling |
| description | Autoscaling operations via Castellum. Triggers: autoscaling, castellum, resize, scaling, threshold, auto-resize, capacity management. NOT for: manual quota changes (use sapcc-quota/Limes). |
| version | 1.0.0 |
| metadata | {"service":["castellum"],"task":["manage","inspect","debug"],"persona":["developer","platform-engineer"]} |
Inspect Castellum autoscaling state: view resource configurations, check pending resize operations, diagnose failed scaling actions.
Note: Castellum MCP tools are planned but not yet implemented in the MCP server. The skill documents the service for reference. When tools become available, they will follow the
castellum_prefix pattern.
| Tool | Purpose | Expected Parameters |
|---|---|---|
castellum_list_resources | List autoscaling-managed resources | project_id |
castellum_get_resource | Get autoscaling config for a resource | asset_type, asset_id |
castellum_list_operations | List scaling operations history | asset_type, state |
Until Castellum MCP tools are available:
maia_query with PromQL to check Castellum metrics: castellum_resource_*hermes_list_events(target_type=autoscaling/resource) for scaling audit trailproject_id must be a valid UUID. The tool validates UUID format and rejects anything else. You cannot pass a project name — resolve it to UUID first via Keystone if needed.
asset_type uses a colon-separated hierarchy. Format is project-quota:<service>:<resource>, e.g., project-quota:compute:cores or project-quota:network:floating_ips. Getting this format wrong returns empty results without an error.
Castellum watches Limes, does not replace it. Castellum monitors usage via Limes and triggers resize operations. The actual quota values live in Limes. To see current quota/usage, use limes_get_project_quota. Castellum shows the autoscaling configuration and pending/failed operations.
Pending does not mean stuck. Pending operations are queued resizes that have not yet been executed. Castellum processes these asynchronously. Only flag operations that have been pending for an unusually long time (hours).
Failed operations include the failure reason. The recently-failed endpoint shows why a resize failed (e.g., parent quota exhausted, constraint violation). This is the primary diagnostic tool for scaling failures.
Not all resources are auto-scalable. Only resources that have Castellum configuration will appear. If get_project_resources returns empty or missing resources, those resources are not configured for autoscaling.
Thresholds define when scaling triggers. Each configured resource has usage thresholds (high/low) that trigger upscale/downscale. The get_project_resources response shows these thresholds alongside current usage.
castellum_get_project_resources with project_id=<uuid> — see all configured resources and their thresholds.limes_get_project_quota to see actual quota values.castellum_list_recently_failed_operations with project_id=<uuid> — check for failures.castellum_get_project_resources — check if thresholds are configured and if usage is actually above the high threshold.castellum_list_pending_operations — see all queued resizes (optionally filter by project or asset_type).| Need | Service | Tool |
|---|---|---|
| Current quota and usage values | Limes | limes_get_project_quota |
| Project UUID from name | Keystone | keystone_list_projects |
| Audit trail of resize actions | Hermes | hermes_list_events(initiator_name=castellum) |
| Compute resource details | Nova | nova_list_servers |