add local cluster config

This commit is contained in:
2026-05-13 12:53:55 -03:00
parent 957e45b8ad
commit 55aa31eff5
18 changed files with 313 additions and 5 deletions

12
ctrl/kind-config.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
if kind get clusters 2>/dev/null | grep -qx eth; then
echo "kind cluster 'eth' already exists"
else
echo "creating kind cluster 'eth'..."
kind create cluster --config k8s/kind-config.yaml
fi
kubectl config use-context kind-eth