dryRunboolean
If true, only validate the resource, don't actually execute the operation
outputenum
Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file
validateboolean
If true, validate resource schema against server schema
manifeststring
YAML manifest to create resources from
filenamestring
Path to a YAML file to create resources from. The path is read on the machine running the MCP server, so it is rejected when the server runs over a remote (SSE/Streamable HTTP) transport; use 'manifest' to pass the file's contents instead.
resourceTypestring
Type of resource to create (namespace, configmap, deployment, service, etc.)
namestring
Name of the resource to create
namespacestring
Kubernetes namespace
fromLiteralstring[]
Key-value pair for creating configmap (e.g. ["key1=value1", "key2=value2"])
fromFilestring[]
Path to file for creating configmap/secret (e.g. ["key1=/path/to/file1", "key2=/path/to/file2"]). The path is read on the machine running the MCP server, so it is rejected when the server runs over a remote (SSE/Streamable HTTP) transport; use "fromFileContent" to pass file contents directly instead.
fromFileContentobject[]
Inline file contents for creating a configmap/secret, provided by the client instead of a server-side path (e.g. [{"key": "app.conf", "content": "..."}]). Safe on all transports; use this instead of "fromFile" on remote (SSE/Streamable HTTP) servers.
secretTypeenum
Type of secret to create (generic, docker-registry, tls)
serviceTypeenum
Type of service to create (clusterip, nodeport, loadbalancer, externalname)
tcpPortstring[]
Port pairs for tcp service (e.g. ["80:8080", "443:8443"])
imagestring
Image to use for the containers in the deployment
replicasnumber
Number of replicas to create for the deployment
portnumber
Port that the container exposes
schedulestring
Cron schedule expression for the CronJob (e.g. "*/5 * * * *")
suspendboolean
Whether to suspend the CronJob
commandstring[]
Command to run in the container
labelsstring[]
Labels to apply to the resource (e.g. ["key1=value1", "key2=value2"])
annotationsstring[]
Annotations to apply to the resource (e.g. ["key1=value1", "key2=value2"])
contextstring
Kubeconfig Context to use for the command (optional - defaults to null)