cluster-manage
$
npx mdskill add kurtosis-tech/kurtosis/cluster-manageSwitch Kurtosis execution between Docker and Kubernetes clusters.
- Enables enclave deployment across different infrastructure environments.
- Requires kurtosis CLI and kubectl access for Kubernetes operations.
- Executes configuration changes via kurtosis cluster set commands.
- Delivers status updates through engine restart and gateway verification.
SKILL.md
.github/skills/cluster-manageView on GitHub ↗
--- name: cluster-manage description: Manage Kurtosis cluster settings. Switch between Docker and Kubernetes backends, list available clusters, and configure which cluster Kurtosis uses. Use when you need to change where Kurtosis runs enclaves. compatibility: Requires kurtosis CLI. Kubernetes requires kubectl with cluster access. metadata: author: ethpandaops version: "1.0" --- # Cluster Manage Switch between Docker and Kubernetes backends for Kurtosis. ## Check current cluster ```bash kurtosis cluster get ``` Returns `docker` or `kubernetes`. ## List available clusters ```bash kurtosis cluster ls ``` ## Switch cluster ```bash # Switch to Docker kurtosis cluster set docker # Switch to Kubernetes (uses current kubectl context) kurtosis cluster set kubernetes ``` After switching, restart the engine: ```bash kurtosis engine restart ``` ## Kubernetes setup When using Kubernetes: 1. Ensure `kubectl` is configured and can reach your cluster: ```bash kubectl cluster-info kubectl get nodes ``` 2. Switch Kurtosis to Kubernetes: ```bash kurtosis cluster set kubernetes kurtosis engine start ``` 3. Start the gateway (required for local CLI to reach the k8s-based engine): ```bash kurtosis gateway & ``` 4. Verify: ```bash kurtosis engine status ``` ## Config file The cluster setting is stored in the Kurtosis config file: ```bash kurtosis config path ``` Typically at `~/Library/Application Support/kurtosis/kurtosis-config.yml` on macOS.
More from kurtosis-tech/kurtosis
- cli-local-buildBuild and test the Kurtosis CLI from source. Compile the CLI binary locally, run it against Docker or Kubernetes engines, and iterate on CLI changes without creating a release. Use when developing or debugging CLI commands.
- context-manageManage Kurtosis contexts for connecting to different Kurtosis instances. Add, list, switch, and remove contexts. Use when working with multiple Kurtosis environments (local, remote, team shared).
- docker-debugDebug Kurtosis running on local Docker. Inspect engine, API container, and service logs. Diagnose container crashes, port conflicts, and networking issues. Use when kurtosis commands fail or services aren't reachable on Docker.
- docker-local-buildBuild and test Kurtosis from source on local Docker. Compiles all components (engine, core, files-artifacts-expander), builds Docker images, installs the CLI, and restarts the engine. Use when developing Kurtosis and testing changes locally with Docker.
- dumpDump Kurtosis state for debugging and sharing. Export enclave state including service logs, configurations, and file artifacts to a local directory. Use when you need to capture state for offline analysis or to share with others for debugging.
- enclave-inspectInspect and manage Kurtosis enclaves. List enclaves, view services and ports, examine file artifacts, dump enclave state for debugging, and clean up. Use when you need to understand what's running inside an enclave or export its state.
- engine-manageManage the Kurtosis engine server. Start, stop, restart the engine, check status, and view engine logs. Covers both Docker and Kubernetes engine backends. Use when the engine won't start, needs restarting, or you need to check engine health.
- files-inspectInspect, download, upload, and debug Kurtosis file artifacts. View artifacts in an enclave, download them locally for inspection, upload local files, and troubleshoot file mounting issues. Use when services can't find expected files or configs are wrong.
- gatewayStart and manage the Kurtosis gateway for Kubernetes. The gateway forwards local ports to the Kurtosis engine and services running in a k8s cluster. Required when using Kurtosis with Kubernetes. Use when kurtosis engine status shows nothing on k8s or services aren't reachable.
- graflokiStart Grafana and Loki for centralized log collection from Kurtosis enclaves. View aggregated service logs in a Grafana dashboard. Use when you need a UI for browsing logs across multiple services or want persistent log storage.