#! /bin/bash export POD_NAME=$(kubectl get pods -n=tfs | grep device | awk '{print $1}') kubectl exec ${POD_NAME} -n=tfs -- mkdir /root/p4 kubectl cp hackfest/p4/p4/p4info.txt tfs/${POD_NAME}:/root/p4 kubectl cp hackfest/p4/p4/bmv2.json tfs/${POD_NAME}:/root/p4