KBF
Kubernetes yml port-forward
Use
Usage:
kbf port-forward [flags]
Flags:
-f, --file string forward file path (default $PWD/forward.yml)
-h, --help help for port-forward
Forward file structure
services:
- name: service-01
namespace: default
port: 8080
targetPort: 880
- name: service-02
namespace: default
port: 8081
targetPort: 8080
Build
git clone https://github.com/eduardobarbosa/kbf.git
cd kbf
go build
./kbf --help
Install using Homebrew
brew tap eduardobarbosa/core
brew install eduardobarbosa/core/kbf