I just spent a little time confused by this today. Could you try:
kubectl exec -it --namespace test $pod -- php -f /var/www/bin/run.php
--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/41111bbc-10d1-46d5-b202-4d26faef37f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
I just spent a little time confused by this today. Could you try:
kubectl exec -it --namespace test $pod -- php -f /var/www/bin/run.php
On Fri, Nov 18, 2016, 5:50 PM Joshua Sindy <joshu...@gmail.com> wrote:
Here is an example of the command that is not working for me.--kubectl exec -it $pod "php -f /var/www/bin/run.php" --namespace testIf shell into the container the commands works just fine.Thanks!
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.