Repository: kubernetes
Issue: kubectl port-forward broken pipe
Labels: kind/bug,sig/api-machinery,help wanted,sig/cli,triage/accepted

### What happened?

I have a mysql pod running in a digitalocean k8s cluster that I connect to via kubectl port-forward. As soon as I make a connection request to this pod using:
```
$ kubectl port-forward service/mycluster mysql :6446
```
I get the following error:
```
ashok@Ashoks-Mac-mini ~ % kubectl port-forward service/mycluster mysql :6446
Forwarding from 127.0.0.1:6446 -> 6446
Forwarding from [::1]:6446 -> 6446
Forwarding from 127.0.0.1:49584 -> 6446
Forwarding from [::1]:49584 -> 6446
Handling connection for 6446
E1223 12:28:00.978475    3493 portforward.go:406] an error occurred forwarding 6446 -> 6446: error forwarding port 6446 to pod 00fea78133b1648bfe76790089892e0e37fb52825342027d588614897e15b094, uid : failed to execute portforward in network namespace "/var/run/netns/cni-5c0e6bc7-3d43-046c-4568-a69544847793": readfrom tcp4 127.0.0.1:43952->127.0.0.1:6446: write tcp4 127.0.0.1:43952->127.0.0.1:6446: write: broken pipe
E1223 12:28:00.979370    3493 portforward.go:234] lost connection to pod
```
and the connection closes and I am unable to access the database.

### What did you expect to happen?

I should have been able to access the MySQL database. 

### How can we reproduce it (as minimally and precisely as possible)?

By creating a standard mysql cluster of 3 nodes.
Commands:
```
% kubectl apply -f https://raw.githubusercontent.com/mysql/mysql-operator/trunk/deploy/deploy-crds.yaml
% kubectl apply -f https://raw.githubusercontent.com/mysql/mysql-operator/trunk/deploy/deploy-operator.yaml
% kubectl create secret generic mypwds \
        --from-literal=rootUser=root \
        --from-literal=rootHost=% \
        --from-literal=rootPassword="password123"
% kubectl apply -f https://raw.githubusercontent.com/mysql/mysql-operator/trunk/samples/sample-cluster.yaml
% kubectl get innodbcluster --watch
% kubectl port-forward service/mycluster mysql :6446
```
followed by a connection request to `localhost:6446`

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:08:39Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"darwin/arm64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:04:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.21) exceeds the supported minor version skew of +/-1
```

</details>


### Cloud provider

<details>
DigitalOcean
</details>


### OS version

<details>

macOS
</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>