k8s-pilot

by bourbonkk

role_list

List all Kubernetes Roles within a specified namespace and context using the MCP server k8s-pilot. Provides role details for efficient cluster resource management.

Instructions

List all Roles in a given namespace.

Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace

Returns: List of Role basic information

Input Schema

NameRequiredDescriptionDefault
context_nameYes
namespaceYes

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" } }, "required": [ "context_name", "namespace" ], "title": "role_listArguments", "type": "object" }
ID: varavj97rf