1
0
mirror of https://github.com/gryf/vmstrap.git synced 2026-01-03 04:14:16 +01:00

Add simple scripts for creating client/server pods

This commit is contained in:
2020-10-06 13:53:21 +02:00
parent 6c7b7dac1b
commit 2bf6c4066d
2 changed files with 41 additions and 0 deletions

7
delete_client_server.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
kubectl -n foo delete networkpolicy deny_all
kubectl -n foo delete pod client
kubectl -n foo delete service foosrvr # remove LB
kubectl -n foo delete pod server
kubectl delete namespace foo