command
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: May 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.