Enable cluster gateway API
enable_cluster_gateway_apiTurn the Kubernetes Gateway API on for a cluster Ankra built (the twin of ankra cluster gateway-api enable and PUT /api/v1/clusters//{cluster_id}/gateway-api). Idempotent and enable-only. It records the option on the cluster's cloud-provider definition when it is not recorded yet - the platform's networking render then adds the gateway-api-crds addon within a few minutes, or uses a Gateway API CRD bundle the cluster already carries rather than installing over it - and, once the platform reads the CRDs as established, writes the Gateway API keys into the Traefik and cert-manager values through the ordinary stack write (one GitOps commit on a GitOps-backed cluster), keeping every other value the owner wrote; a key the owner set the other way refuses that write and is named under conflicts, so nothing of theirs is overwritten. Every Ingress keeps working; a Gateway is added beside them. It writes nothing to the values while the CRDs are not up, so call it again (or follow get_cluster_gateway_api) until phase is enabled, which is answered only once the platform reads the GatewayClass traefik Accepted and the Gateway traefik-gateway in namespace traefik Programmed on the cluster; until then a written enable reads applying, with the note saying what it waits on. It cannot turn the option off. Refuses a cluster that is not a cloud cluster Ankra built, one without Ankra-managed networking, one carrying only part of the Gateway API CRD bundle, one whose CRDs the platform cannot read yet, an offline cluster and one whose GitOps sync is paused on conflicts, each with the reason. Requires clusters.write.
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": "enable_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. |