Create native service
k8s_create_native_serviceCreate Kubernetes core/v1 Services by passing either a complete spec or convenience ports, selector, and type fields to expose workloads.
Instructions
Create a real Kubernetes (core/v1) Service.
Either pass a full spec dict or the ports/selector/type
convenience fields.
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": {
"name": "<name>"
},
"name": "k8s_create_native_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| spec | No | ||
| type | No | ClusterIP | |
| ports | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| selector | No | ||
| namespace | No |