kubectl-port_forward_run

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

kubectl port-forward-run

kubectl port-forward-run is a plugin to help execute a command with a port-forward established.

Install

go install github.com/howardjohn/kubectl-port_forward_run@latest

Usage

Example output:

$ kubectl port-forward-run pod/some-pod 80 -- curl localhost:{}

This will port-forward to some-pod on port 80 and execute the curl command. The {} will be replaced with the automatically assigned local port.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL