serviceaccount_create
Create a Kubernetes ServiceAccount in a specified namespace using context details and optional labels, managed via the k8s-pilot MCP server.
Instructions
Create a ServiceAccount in the specified namespace.
Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ServiceAccount name labels: Optional labels to apply to the ServiceAccount
Returns: Status of the creation operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
labels | No | ||
name | Yes | ||
namespace | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context_name": {
"title": "Context Name",
"type": "string"
},
"labels": {
"additionalProperties": true,
"default": null,
"title": "Labels",
"type": "object"
},
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
}
},
"required": [
"context_name",
"namespace",
"name"
],
"title": "serviceaccount_createArguments",
"type": "object"
}