Get Workload Rollout History
get_rollout_historyInspect Kubernetes Deployment, StatefulSet, or DaemonSet revision history to trace image changes and rollout regressions; read-only, with no rollback actions.
Instructions
Inspect native Kubernetes controller revision history for a single Deployment, StatefulSet, or DaemonSet.
Returns cluster_id, workload_type, name, namespace, current_revision, and revisions (ordered newest-first with revision number, change_cause, and container image). Strictly read-only and never performs rollbacks.
Use when tracing image changes or rollout regressions on a Kubernetes workload controller. Prefer get_helm_release_history and diff_helm_revisions when inspecting Helm chart release revisions, or get_manifest to view the workload's full current YAML specification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"namespace": "<namespace>",
"workload_type": "<workload_type>",
"name": "<name>"
},
"name": "get_rollout_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact name of the Deployment, StatefulSet, or DaemonSet inside `namespace` (1-253 chars, e.g. 'checkout-api'). | |
| namespace | Yes | Target Kubernetes namespace name (1-63 chars, e.g. 'default', 'prod'). Use `get_namespaces` to discover available namespaces on the cluster. | |
| cluster_id | Yes | Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging'). | |
| workload_type | Yes | Kubernetes controller kind supporting rollout history: one of 'deployment', 'statefulset', or 'daemonset'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Workload controller name. | |
| namespace | No | Namespace containing the workload. | |
| revisions | No | Revision entries ordered newest-first, each with `revision`, `change_cause`, and container `image` when available. | |
| cluster_id | No | Cluster identifier queried. | |
| workload_type | No | Workload controller kind queried (deployment, statefulset, or daemonset). | |
| current_revision | No | Latest revision number observed. |