Trying to insert output from this:
kubectl get pods | grep -Eo '^[^ ]+' | grep portal
kubectl exec -it <here> portal bash
kubectl exec -it `kubectl get pods | grep -Eo '^[^ ]+' | grep portal ` portal bash
But no luck.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community