Validate a Kubernetes manifest
validate_manifestLint Kubernetes YAML/JSON or docker-compose manifests to catch incident-causing defects and risky settings; returns findings with line numbers and a 0–100 score.
Instructions
Lint Kubernetes YAML/JSON (or docker-compose) for incident-causing defects: missing memory limits, unpinned images, privileged/root containers, host mounts, plaintext credentials, Service targetPort drift, JVM heaps above the memory limit and risky RBAC. Returns findings with line numbers and a 0-100 score.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"manifest": "<manifest>"
},
"name": "validate_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | manifest.yaml | |
| manifest | Yes | Manifest text (multi-document YAML allowed) |