I am trying to find a way to determine the status of the "kubectl port-forward" command. There is a way to determine the readiness of a pod, a node...: i.e. "kubectl get pods" etc...
Is there a way to determine if the kubectl port-forward command has completed and ready to work?
Thank you.
kubectl port-forward
is slow and unreliable; it's a super-handy debugging tool, but if you're starting to look at scripting it, you might be better off setting up a proper ingress path into your cluster. – David Maze