Installation
Introduction
This installation covers installing the kubectl-power-forward binary to your system. You will need some kind of client to use it, like a browser or application. The later is not part of this documentation.
System requirements
kubectl-power-forward is built to run on Linux and Mac, both with amd64 and arm64 (e.g. Apple Silicon) CPUs.
Installation / Update steps
The following procedure explains how to install kubectl-power-forward as binary.
No stable release yet
As the application is under initial development, there is no stable version to install yet! Follow along to install a pre-release version.- Go to the release page, choose your release and download the archive matching you system
- Unpack the archive, e.g.
tar -xf <PAHT_TO_ARCHIVE> - Place the binary from the archive to a localtion in your
PATHvariable, e.g./usr/local/bin
Optional: Allow binding privileged ports
If you want to use kubectl-power-forward with ports < 1024 (e.g. 80 or 443 for easier usage with HTTP traffic), you can either use sudo mode or add the NET_BIND_SERVICE capability to the binary. You can do this with
$ sudo setcap 'cap_net_bind_service+ep' "$(which kubectl-power-forward)"
Uninstalling
Remove the binary with
$ rm $(which kubectl-power-forward)
Next steps
Read the Usage to learn how to set up forwarding.