get_target_server_group
Fetches a specific Spinnaker server group using a target selection strategy (newest, oldest, largest, smallest) when the exact name is unknown. Returns JSON details.
Instructions
Get a specific server group in a Spinnaker cluster using a target selection strategy (e.g., newest, oldest, largest, smallest, fail). Use this when you need the most recently deployed or a specific server group without knowing its exact name. Returns JSON with the matched server group details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Scope for target lookup (e.g. a region like us-east-1) | |
| target | Yes | Target type: newest, oldest, largest, smallest, or ancestor | |
| account | Yes | Spinnaker account name | |
| application | Yes | Application name as registered in Spinnaker | |
| cluster_name | Yes | Cluster name as shown in the Spinnaker UI | |
| cloud_provider | Yes | Cloud provider (e.g. aws, gce, kubernetes) |