| name | enclave-inspect |
| description | Inspect 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. |
| compatibility | Requires kurtosis CLI with a running engine. |
| metadata | {"author":"ethpandaops","version":"1.0"} |
Enclave Inspect
Inspect and manage Kurtosis enclaves and their contents.
List enclaves
kurtosis enclave ls
Output shows enclave name, UUID, status (RUNNING/STOPPED), and creation time.
Inspect an enclave
kurtosis enclave inspect <enclave-name>
This shows:
- File Artifacts — uploaded files and rendered templates
- User Services — running containers with their ports and status
Services
View service details
kurtosis enclave inspect <enclave-name>
kurtosis service logs <enclave-name> <service-name>
kurtosis service logs <enclave-name> <service-name> -f
kurtosis service shell <enclave-name> <service-name>
kurtosis service exec <enclave-name> <service-name> -- <command>
Access service ports
The inspect output shows port mappings like:
http: 8545/tcp -> http://127.0.0.1:61817
This means port 8545 inside the container is mapped to localhost:61817. On Kubernetes with gateway running, these are forwarded through the gateway.
File artifacts
File artifacts are named blobs of files stored in the enclave.
kurtosis enclave inspect <enclave-name>
kurtosis files download <enclave-name> <artifact-name> /tmp/output-dir
kurtosis files upload <enclave-name> /path/to/local/file
Dump enclave state
Export the full enclave state for offline debugging:
kurtosis enclave dump <enclave-name> /tmp/enclave-dump
ls -la /tmp/enclave-dump/
This exports:
- Service logs
- Service configurations
- File artifacts
- Enclave metadata
Useful for sharing with others to debug issues.
Troubleshooting
| Symptom | Cause | Fix |
|---|
| Enclave not found | Typo or enclave was removed | Run kurtosis enclave ls to see available enclaves |
| Dump directory empty | Enclave has no services | Check kurtosis enclave inspect — enclave may be idle |
| Inspect shows STOPPED services | Services crashed or were stopped | Check logs with kurtosis service logs before restarting |
| K8s namespace missing | Enclave was cleaned up | Re-run the package to recreate the enclave |
Enclave lifecycle
kurtosis enclave add <enclave-name>
kurtosis enclave stop <enclave-name>
kurtosis enclave rm <enclave-name>
kurtosis clean -a
Kubernetes-specific
On Kubernetes, each enclave is a namespace prefixed with kt-:
kubectl get ns | grep kt-
kubectl get pods -n kt-<enclave-name>
kubectl describe pod <pod-name> -n kt-<enclave-name>
kubectl logs <pod-name> -n kt-<enclave-name>