# Kurtosis + Kubernetes ## Using Kubernetes from Docker Desktop This guide uses k8s bundled with Docker desktop, but should work with other k8s distribution. Note that the Docker bundled k8s only supports a single worker node. ### Add K8s cluster to Kurtosis config 1. Enable Kubernetes cluster in Docker Desktop and restart Docker. 2. Open config with command: `vi "$(kurtosis config path)"` 3. Add the following to the file: ``` kurtosis-clusters: docker-k8s: type: "kubernetes" config: kubernetes-cluster-name: "docker-desktop" storage-class: "hostpath" enclave-size-in-megabytes: 10 ``` 4. Conifgure to use docker k8s cluster: `kurtosis cluster set docker-k8s` 5. Run Kurtosis gateway to allow connections to the engine: `kurtosis gateway` 6. Keep the above terminal session open at all times, and start Kurtosis enclaves as usual. ps. startup time for `ethereum-package` takes longer than using native docker for some reasons.