LiamBurke | a451619 | 2019-02-11 12:28:55 +0000 | [diff] [blame] | 1 | #!/bin/bash |
2 | echo "Starting teardown script" | ||||
3 | DFC_POD=$(kubectl -n onap get pods | grep datafile-collector | awk '{print $1}') | ||||
4 | kubectl -n onap exec $DFC_POD -it cat /opt/log/application.log > /tmp/dfc_docker.log | ||||
5 | cat /tmp/dfc_docker.log | ||||
6 | sleep 3 | ||||
7 | kill-instance.sh fileconsumer-node | ||||
8 | kill-instance.sh sftp |