generate_network_policy
Generate Kubernetes NetworkPolicy for zero-trust pod communication
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": {
"service": "<service>",
"namespace": "<namespace>"
},
"name": "generate_network_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Target service name | |
| namespace | Yes | Kubernetes namespace | |
| allowEgress | No | Services this pod can send traffic to | |
| allowIngress | No | Services allowed to send traffic in |