Diff manifest
k8s_diff_manifestCompares a Kubernetes manifest with the live cluster by dry-run applying each document and reporting whether applying it would change or create the object, detecting drift and comparing secrets by digest.
Instructions
Compare a manifest (e.g. from services//) with the live cluster.
Each document is server-side applied as a dry run and the would-be
object is compared with the live one; drift is true when applying
the manifest would change the cluster (or the object is absent).
Secret documents are compared by digest only.
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_yaml": "<manifest_yaml>"
},
"name": "k8s_diff_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | No | ||
| manifest_yaml | Yes |