get_logs
Retrieve logs from a specific Kubernetes pod by specifying its name, namespace, and log tail length. Simplify log management within clusters using MCP Kubernetes Server.
Instructions
Get the logs of a specific pod
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
namespace | No | default | |
tail | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"default": "default",
"title": "Namespace",
"type": "string"
},
"tail": {
"default": 1000,
"title": "Tail",
"type": "integer"
}
},
"required": [
"name"
],
"title": "get_logsArguments",
"type": "object"
}