Get cluster gateway API
get_cluster_gateway_apiWhere the Kubernetes Gateway API stands on a cluster Ankra built (the twin of ankra cluster gateway-api and the portal's networking card - the one preview the portal, the CLI and this tool share): available says the cluster has Ankra-managed networking to serve it (false carries unavailable_reason); enabled is the recorded option; phase is one of off, no_platform_networking, conflict, crds_failed, crds_pending, values_pending, apply_failed, applying, enabled, and enabled is the cluster's own answer: the platform reads the GatewayClass traefik Accepted and the Gateway traefik-gateway in namespace traefik Programmed from watches it can vouch for (synced, fresh, not parked as unlistable); with the values written and no failed apply, everything short of that stays applying, whether Traefik or cert-manager has not applied yet, the Gateway has not reported Programmed (the note quotes its reason and message), or the platform cannot read the Gateway's status on the cluster yet (the note says why, such as the cluster not syncing gateways), so applying can last until the cluster reports the Gateway served; crds is the platform's own reading of the Gateway API CRDs (source addon or preinstalled, what the CRD watch sees, the gateway-api-crds addon's state and applied state, established); traefik and cert_manager say what each member's stored values would gain (add), already carry (already_on) or contradict (conflict, naming the keys), and their applied state; values_hold names why the values write is held back (an offline cluster, a paused GitOps sync); note says what the phase means and who moves it on. Use it before enable_cluster_gateway_api and after it to follow the phase; a phase other than enabled is not a broken cluster. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cluster_gateway_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No | UUID of the target cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the target cluster. Optional when a cluster is selected. |