#!/usr/bin/env bash # Deletes the kind cluster and all local exam state. set -euo pipefail cd "$(dirname "$0")" RT="${CONTAINER_RUNTIME:-$(cat .state/runtime 2>/dev/null || echo podman)}" [ "$RT" = podman ] && export KIND_EXPERIMENTAL_PROVIDER=podman kind delete cluster --name cka-sim || true rm -rf .state workspace echo "cka-sim cluster and local state removed."