k8-multiclusterManage multiple Kubernetes clusters, switch contexts, and perform cross-cluster operations. Use when working with multiple clusters, comparing environments, or managing cluster lifecycle.
Install via ClawdBot CLI:
clawdbot install rohitg00/k8-multiclusterCross-cluster operations and context management using kubectl-mcp-server's multi-cluster support.
list_contexts_tool()
kubeconfig_view() # Shows sanitized kubeconfig
CLI: kubectl-mcp-server context
All kubectl-mcp-server tools support the context parameter:
# Get pods from production cluster
get_pods(namespace="default", context="production-cluster")
# Get pods from staging cluster
get_pods(namespace="default", context="staging-cluster")
# Compare deployment across clusters
compare_namespaces(
namespace1="production",
namespace2="staging",
resource_type="deployment",
context="production-cluster"
)
Query multiple clusters simultaneously:
# Production cluster
get_pods(namespace="app", context="prod-us-east")
get_pods(namespace="app", context="prod-eu-west")
# Development cluster
get_pods(namespace="app", context="development")
# Check all clusters
for context in ["prod-1", "prod-2", "staging"]:
get_nodes(context=context)
get_pods(namespace="kube-system", context=context)
For managing cluster lifecycle:
capi_clusters_list_tool(namespace="capi-system")
capi_cluster_get_tool(name="prod-cluster", namespace="capi-system")
capi_cluster_kubeconfig_tool(name="prod-cluster", namespace="capi-system")
capi_machines_list_tool(namespace="capi-system")
capi_machinedeployments_list_tool(namespace="capi-system")
capi_machinedeployment_scale_tool(
name="prod-cluster-md-0",
namespace="capi-system",
replicas=5
)
See CONTEXT-SWITCHING.md for detailed patterns.
Deploy charts to specific clusters:
install_helm_chart(
name="nginx",
chart="bitnami/nginx",
namespace="web",
context="production-cluster"
)
list_helm_releases(
namespace="web",
context="staging-cluster"
)
flux_kustomizations_list_tool(
namespace="flux-system",
context="cluster-1"
)
flux_reconcile_tool(
kind="kustomization",
name="apps",
namespace="flux-system",
context="cluster-2"
)
argocd_apps_list_tool(namespace="argocd", context="management-cluster")
# Read from source cluster
get_secrets(namespace="app", context="source-cluster")
# Apply to target cluster (via manifest)
apply_manifest(secret_manifest, namespace="app", context="target-cluster")
With Cilium ClusterMesh or Istio multi-cluster:
cilium_nodes_list_tool(context="cluster-1")
istio_proxy_status_tool(context="cluster-2")
prod-us-east-1, staging-eu-west-1
# Explicit is better
get_pods(namespace="app", context="production")
prod-*staging-*dev-*Generated Mar 1, 2026
A global e-commerce company deploys its application across multiple Kubernetes clusters in different geographic regions (e.g., US-East, EU-West, Asia-Pacific) to ensure low latency and high availability. This skill enables teams to manage deployments, monitor health, and switch contexts seamlessly for cross-cluster operations like comparing deployments or scaling services.
A software development firm uses separate Kubernetes clusters for development, staging, and production environments to isolate changes and reduce risk. This skill allows developers to switch contexts easily, perform parallel queries across clusters, and implement GitOps workflows with tools like Flux or ArgoCD for automated deployments.
A financial services organization maintains active-active or active-passive Kubernetes clusters across multiple data centers for disaster recovery. This skill facilitates cross-cluster health checks, secret synchronization, and rapid context switching to ensure business continuity during outages or failover events.
A managed Kubernetes service provider manages multiple client clusters from a central control plane using Cluster API (CAPI). This skill enables providers to list clusters, scale machine deployments, and retrieve kubeconfigs for workload clusters, streamlining lifecycle management and support across diverse environments.
An enterprise with hybrid cloud infrastructure runs Kubernetes clusters on-premises and in public clouds (e.g., AWS, Azure, GCP). This skill supports cross-cluster operations like service discovery with Cilium ClusterMesh or Istio, allowing teams to manage federated services and ensure consistent policies across environments.
Offer multi-cluster management as a service, providing tools for context switching, cross-cluster operations, and lifecycle management via Cluster API. Revenue is generated through subscription fees based on the number of clusters managed, support tiers, and additional features like automated scaling or GitOps integration.
Provide consulting services to help organizations design and implement multi-cluster Kubernetes strategies, including best practices for naming conventions, access control, and integration with tools like Helm or Flux. Revenue comes from project-based fees, hourly rates, or retainer agreements for ongoing support and optimization.
Develop and sell training courses or certification programs focused on multi-cluster Kubernetes management, covering topics like context switching, cross-cluster patterns, and Cluster API usage. Revenue is generated through course fees, certification exams, and corporate training packages for teams.
💬 Integration Tip
Integrate this skill with existing CI/CD pipelines by using context parameters in automation scripts, and ensure kubeconfigs are securely managed with role-based access control to prevent accidental cross-cluster operations.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.