statefulset_create
Create a StatefulSet in a specified Kubernetes namespace using the k8s-pilot MCP server. Define context, namespace, image, replicas, and labels to manage deployment configurations.
Instructions
Create a StatefulSet in the specified namespace.
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The StatefulSet name image: The container image to use replicas: Number of replicas labels: Labels to apply to the StatefulSet
Returns: Status of the creation operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
image | Yes | ||
labels | Yes | ||
name | Yes | ||
namespace | Yes | ||
replicas | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context_name": {
"title": "Context Name",
"type": "string"
},
"image": {
"title": "Image",
"type": "string"
},
"labels": {
"additionalProperties": true,
"title": "Labels",
"type": "object"
},
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
},
"replicas": {
"title": "Replicas",
"type": "integer"
}
},
"required": [
"context_name",
"namespace",
"name",
"image",
"replicas",
"labels"
],
"title": "statefulset_createArguments",
"type": "object"
}