Get a pod by name and namespace, will check every 1 second until the pod is no longer found. Can throw a SoloError if there is an error while deleting the pod.
Port forward a port from a pod to localhost
This simple server just forwards traffic from itself to a service running in kubernetes -> localhost:localPort -> port-forward-tunnel -> kubernetes-pod:targetPort
the local port to forward to
the port on the pod to forward from
an instance of ExtendedNetServer
Stop the port forward
an instance of server returned by portForward method
Optional
maxAttempts: numberthe maximum number of attempts to check if the server is stopped
Optional
timeout: numberthe delay between checks in milliseconds
The pod reference