annotationsstring[]
Annotations to apply to the resource (e.g. ["key1=value1", "key2=value2"])
commandstring[]
Command to run in the container
contextstring
Kubeconfig Context to use for the command (optional - defaults to null)
dryRunboolean
If true, only validate the resource, don't actually execute the operation
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.
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.
fromLiteralstring[]
Key-value pair for creating configmap (e.g. ["key1=value1", "key2=value2"])
imagestring
Image to use for the containers in the deployment
labelsstring[]
Labels to apply to the resource (e.g. ["key1=value1", "key2=value2"])
manifeststring
YAML manifest to create resources from
namestring
Name of the resource to create
namespacestring
Kubernetes namespace
outputenum
Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file
portnumber
Port that the container exposes
replicasnumber
Number of replicas to create for the deployment
resourceTypestring
Type of resource to create (namespace, configmap, deployment, service, etc.)
schedulestring
Cron schedule expression for the CronJob (e.g. "*/5 * * * *")
secretTypeenum
Type of secret to create (generic, docker-registry, tls)
serviceTypeenum
Type of service to create (clusterip, nodeport, loadbalancer, externalname)
suspendboolean
Whether to suspend the CronJob
tcpPortstring[]
Port pairs for tcp service (e.g. ["80:8080", "443:8443"])
validateboolean
If true, validate resource schema against server schema