Port

kubectl-ports: list exposed ports in Kubernetes

Finding the ports exposed by pods and services means digging through resource definitions or running several commands. I created kubectl-ports, a kubectl plugin that retrieves the exposed ports information and presents it in a table. What is kubectl-ports? kubectl-ports is a tool that leverages the kube-rs SDK to retrieve information about running pods in a Kubernetes cluster. It filters out the relevant port details from each pod and prints the final result in an easy-to-read table. You no longer need to comb through verbose output or chain commands. ...

October 10, 2024 · 3 min · widnyana