Skip to main content
Glama

istio-list-virtualservices

List Istio virtual services in a Kubernetes namespace to manage traffic routing rules and service mesh configurations.

Instructions

List Istio virtual services

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNoThe namespace to list virtual services from (optional, defaults to current context namespace)

Implementation Reference

  • Handler that lists Istio VirtualServices by executing 'kubectl get virtualservices -o wide' in the specified namespace.
    const { namespace } = args || {}; const nsArg = namespace ? `-n ${namespace}` : ""; const cmd = `kubectl get virtualservices ${nsArg} -o wide`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "No Istio virtual services found" }] }; }
  • server.js:1288-1298 (registration)
    Tool registration in the tools array, including name, description, and input schema for 'istio-list-virtualservices'.
    name: "istio-list-virtualservices", description: "List Istio virtual services", inputSchema: { type: "object", properties: { namespace: { type: "string", description: "The namespace to list virtual services from (optional, defaults to current context namespace)" } } }
  • Input schema definition for the istio-list-virtualservices tool.
    type: "object", properties: { namespace: { type: "string", description: "The namespace to list virtual services from (optional, defaults to current context namespace)" } }

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/thekaranpargaie/kube-mcp'

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