Skip to content

Commit

Permalink
chore: improve setup_local_k8s.sh to focus kind (#9228)
Browse files Browse the repository at this point in the history
Sometimes kind does not show up in k8s clusters so we need to recreate
  • Loading branch information
ludamad authored Oct 17, 2024
1 parent 5d291a3 commit 8efdb47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spartan/scripts/setup_local_k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if kind get clusters | grep -q "^kind$"; then
echo "Cluster 'kind' already exists. Skipping creation."
else
kind create cluster
fi
fi

kubectl config use-context kind-kind

0 comments on commit 8efdb47

Please sign in to comment.