when I ran this command
kubectl exec -it $(kubectl get pods | grep container-name | awk '{print $1}') /bin/sh
I ssh into my container,
/src #
Now - I want to add 2 more commands so I did
kubectl exec -it $(kubectl get pods | grep container-name | awk '{print $1}') /bin/sh ; cd app/Http/Controllers; ls -lrt;
but I still see this
/src #
I am supposed to see this
/src # cd app/Http/Controllers; ls -lrt;
total 44
-rw-r--r-- 1 root root 361 Jun 11 11:27 Controller.php
-rw-r--r-- 1 root root 1734 Jun 11 11:27 ClientController.php
-rw-r--r-- 1 root root 1702 Jun 11 11:27 BroadcastController.php
-rw-r--r-- 1 root root 5257 Jun 17 15:24 NodeController.php
-rw-r--r-- 1 root root 2844 Jun 17 20:21 AccountController.php
/src/app/Http/Controllers #