get_oke_cluster_kubeconfig
Retrieve kubeconfig content for accessing an Oracle Container Engine (OKE) cluster, enabling kubectl connectivity and Kubernetes cluster management.
Instructions
Get the kubeconfig file content for accessing an OKE cluster.
Args:
cluster_id: OCID of the cluster
Returns:
Kubeconfig content in YAML format that can be saved to ~/.kube/config
or used with kubectl --kubeconfig flag
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>"
},
"name": "get_oke_cluster_kubeconfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes |