Introducing kubectl-ports: Easily List Exposed Ports in Kubernetes
As a Kubernetes user, have you ever found yourself digging through resource definitions or running multiple commands just to find out what ports are exposed by your pods and services? It can be a tedious process. That’s why I created kubectl-ports, a handy kubectl plugin that retrieves the exposed ports information and presents it in a clean, readable table format. 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. No more combing through verbose output or chaining together multiple commands! ...