Don't prefix pod names when port forwarding
@@ -70,7 +70,7 @@ type kubectlForwader struct{}
func (*kubectlForwader) Forward(pfe *portForwardEntry) error {
logrus.Debugf("Port forwarding %s", pfe)
portNumber := fmt.Sprintf("%d", pfe.port)
- cmd := exec.Command("kubectl", "port-forward", fmt.Sprintf("pod/%s", pfe.podName), portNumber, portNumber)
+ cmd := exec.Command("kubectl", "port-forward", pfe.podName, portNumber, portNumber)
pfe.cmd = cmd
buf := &bytes.Buffer{}
