This is the magic incantation you need:
kubectl exec -it $(kubectl get pods | grep PROJECT_DEPLOYED_NAME | head -1 | awk '{print $1}') -- bash -c "/app/bin/PROJECT_NAME remote"
Random outpourings of a software developer
This is the magic incantation you need:
kubectl exec -it $(kubectl get pods | grep PROJECT_DEPLOYED_NAME | head -1 | awk '{print $1}') -- bash -c "/app/bin/PROJECT_NAME remote"