Skip to content

Commit

Permalink
fixup! wip: basic test for peerpods
Browse files Browse the repository at this point in the history
kubectl cleanup
  • Loading branch information
burgerdev committed Nov 12, 2024
1 parent e2a7c74 commit 7cbf7db
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/test-peerpods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ nix run -L .#terraform -- -chdir=infra/azure-peerpods apply --auto-approve
just get-credentials AKS-PEER-SNP
just node-installer AKS-PEER-SNP

cat <<EOF | kubectl apply -f -
cleanup() {
kubectl delete deploy nginx --timeout=0s --wait=true
}

trap cleanup EXIT

kubectl apply -f - <<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit 7cbf7db

Please sign in to comment.