Skip to main content
Glama
junzzhu

OpenShift MCP Server

by junzzhu

get_pod_logs

Retrieve container logs from OpenShift pods to diagnose issues, monitor application behavior, and troubleshoot deployments by specifying namespace, pod name, and optional parameters like container, time range, or line count.

Instructions

Retrieve container logs from a pod. Args: namespace: Pod namespace pod_name: Pod name container: Specific container name (if None, gets all containers) previous: Get logs from previous container instance tail: Number of recent lines to retrieve (default: 100) since: Time duration to retrieve logs from (e.g., "1h", "30m") Returns: Formatted logs with container separation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceYes
pod_nameYes
containerNo
previousNo
tailNo
sinceNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/junzzhu/openshift-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server