replicaset_create
Create a new ReplicaSet in a Kubernetes namespace by specifying its name, image, replicas, and labels.
Instructions
Create a ReplicaSet in the specified namespace.
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ReplicaSet name image: The container image to use replicas: Number of replicas labels: Labels to apply to the ReplicaSet
Returns: Status of the creation operation
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": {
"context_name": "<context_name>",
"namespace": "<namespace>",
"name": "<name>",
"image": "<image>",
"replicas": "<replicas>",
"labels": "<labels>"
},
"name": "replicaset_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| image | Yes | ||
| labels | Yes | ||
| replicas | Yes | ||
| namespace | Yes | ||
| context_name | Yes |