aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases/5G-bulkpm/onap.teardown.sh
blob: 966be45d185d459e20e1cb107f1335bb2616b76d (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
echo "Starting teardown script"
DFC_POD=$(kubectl -n onap get pods | grep datafile-collector | awk '{print $1}')
kubectl -n onap exec $DFC_POD -it  cat /opt/log/application.log > /tmp/dfc_docker.log
cat /tmp/dfc_docker.log
sleep 3
kill-instance.sh fileconsumer-node
kill-instance.sh sftp