Elevate cluster access
elevate_cluster_accessBreak-glass: give yourself - the caller, never anyone else - time-boxed Kubernetes access to one cluster (the twin of ankra cluster access elevate). Needs kube_access.elevate or kube_access.manage, and is always held to the organisation access policy's self-elevation bounds, whoever calls it: it must expire within the policy's elevated lifetime, carry a reason when the policy requires one, and stay under the role ceiling. Only your own elevation is re-timed by a repeat. Always have the user confirm the cluster, role, lifetime and reason first.
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": {
"role": "<role>"
},
"name": "elevate_cluster_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Kubernetes role the grant carries; must not exceed the organisation access policy's max_grant_role (get_cluster_access_policy). | |
| scope | No | cluster (default) for the whole cluster, namespace for one namespace. | |
| reason | No | Why the access is needed. The organisation access policy may require it for elevated roles (require_reason_from_role). | |
| namespace | No | The namespace, required with scope namespace and refused otherwise (a DNS-1123 label). | |
| cluster_id | No | UUID of the cluster. Optional when a cluster is selected. | |
| expires_at | No | When the grant ends, an RFC 3339 timestamp at least a minute ahead. Give this or expires_in. | |
| expires_in | No | How long the grant lasts: whole days (7d) or a duration (30m, 4h, 1h30m), at least 1m. Give this or expires_at. | |
| cluster_name | No | Exact name of the cluster. Optional when a cluster is selected. |