createOrUpdateResourceYAML
Creates a new resource or updates an existing one from a YAML manifest. This tool is specifically optimized for YAML input and provides better error handling for YAML parsing issues.
How to use it
createOrUpdateResourceYAML is exposed by the K8s MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the createOrUpdateResourceYAML tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install K8s MCP Server
docker run -p 8080:8080 -v ~/.kube/config:/home/appuser/.kube/config:ro ginnux/k8s-mcp-server:latestOther tools in K8s MCP Server (12)
Creates a new resource or updates an existing one from a JSON manifest.
Deletes a specific resource from the Kubernetes cluster.
Describes a resource in the Kubernetes cluster, similar to kubectl describe.
Retrieves all available API resources in the Kubernetes cluster.
Retrieves events for a specific namespace or resource.
Retrieves ingress resources from the Kubernetes cluster.
Retrieves resource usage metrics for a specific node.
Retrieves CPU and Memory metrics for a specific pod.
Retrieves the logs of a specific pod.
Retrieves detailed information about a specific resource.
Lists all instances of a specific resource type.
Triggers a rolling restart of a Kubernetes resource that supports spec.template.metadata.annotations. This includes Deployment, DaemonSet, StatefulSet, Job, and similar resources.