Merge pull request #50229 from tcharding/kubectl-portforward
Automatic merge from submit-queue (batch tested with PRs 50229, 50973, 50976, 51085, 51084) Remove duplicate command example **What this PR does / why we need it**: `kubectl port-forward --help` currently contains a duplicate example. This PR removes the duplicate. ```release-note /release-note Remove duplicate command example from `kubectl port-forward --help` ``` /sig cli /kind cleanup /kind documentation
This commit is contained in:
		| @@ -59,10 +59,7 @@ var ( | ||||
| 		kubectl port-forward mypod 8888:5000 | ||||
|  | ||||
| 		# Listen on a random port locally, forwarding to 5000 in the pod | ||||
| 		kubectl port-forward mypod :5000 | ||||
|  | ||||
| 		# Listen on a random port locally, forwarding to 5000 in the pod | ||||
| 		kubectl port-forward mypod 0:5000`)) | ||||
| 		kubectl port-forward mypod :5000`)) | ||||
| ) | ||||
|  | ||||
| func NewCmdPortForward(f cmdutil.Factory, cmdOut, cmdErr io.Writer) *cobra.Command { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue