List Kubernetes Clusters
dynatrace_list_clustersFetch Kubernetes clusters known to a Dynatrace tenant before filtering pods; returns k8s.cluster.name values for scoped pod queries.
Instructions
List Kubernetes clusters known to this Dynatrace tenant (k8s.cluster.name). Call this before filtering pods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: now or ISO-8601 | |
| from | No | Start: now-30m or ISO-8601 | |
| around | No | Pivot timestamp for a window | |
| window | No | Half-window around pivot, e.g. 2m | |
| endDate | No | Calendar end YYYY-MM-DD (UTC day) | |
| startDate | No | Calendar start YYYY-MM-DD (UTC day) | |
| connection | No | Named connection from env (default, optional stage/prod aliases, or a DYNATRACE_CONNECTIONS key) | |
| allowLongRange | No | Allow ranges longer than the default cap |