create_database_cluster
Create a new database cluster by specifying namespace, name, engine type, and resource limits. Configure storage, replicas, CPU, memory, and proxy replicas for scalable database deployments.
Instructions
Create a new database cluster in the specified namespace.
Args:
namespace: The namespace to create the cluster in
name: Name of the database cluster
engine_type: Type of database engine (e.g. 'pxc')
storage_size: Size of storage using the Mi, Gi suffix
replicas: Number of database replicas
cpu: CPU cores per replica
memory: Memory per replica using the Mi, Gi suffix
allow_unsafe: Allow unsafe configurations
proxy_replicas: Number of proxy replicas
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": {
"namespace": "<namespace>",
"name": "<name>",
"engine_type": "<engine_type>"
},
"name": "create_database_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | ||
| name | Yes | ||
| memory | No | 1Gi | |
| replicas | No | ||
| namespace | Yes | ||
| engine_type | Yes | ||
| allow_unsafe | No | ||
| storage_size | No | 10Gi | |
| proxy_replicas | No |