{"repo":"knight42/krelay","free":true,"listed":false,"github":"https://github.com/knight42/krelay","clone":"git clone https://github.com/knight42/krelay.git","description":"A better alternative to `kubectl port-forward` that can forward TCP or UDP traffic to IP/Host which is accessible inside the cluster.","language":"Go","stars":344,"topics":["kubernetes","kubectl","kubectl-plugin","port-forward"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"krelay krelay is a drop-in replacement for kubectl port-forward with some enhanced features. Table of Contents - Highlights - Demo - Installation - Usage - Flags - How It Works ✨Highlights Supports UDP port forwarding Supports simultaneous forwarding of data to multiple targets. Forwarding data to the given IP or hostname that is accessible within the kubernetes cluster You could forward a local port to a port in the Service or a workload like Deployment or StatefulSet , and the forwarding session will not be interfered even if you perform rolling updates. The hostname is resolved inside the cluster, so you don't need to change your local nameserver or modify the /etc/hosts . Run a local SOCKS5 proxy that tunnels arbitrary TCP traffic into the cluster ( kubectl relay proxy ). Demo Forwarding UDP port Forwarding traffic to a Service [!NOTE] The forwarding session is not affected after rolling update. Forwarding traffic to a IP or hostname Forwarding traffic to multiple targets Customize the forwarding server You can provide a merge patch in JSON or YAML format to customize the forwarding server. For instance: Installation Distribution Command / Link --------------------------------------- ---------------------------------------------------------------- Krew kubectl krew install relay Homebrew brew install knight42/tap/krelay Pre-built binaries for macOS, Linux GitHub releases [!NOTE] If you only have limited access to the cluster, please make sure the permissions specified in ","default_branch":null,"files":null,"tree":[],"storefront":"/r/knight42","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/knight42/krelay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}