concept socat in category kubernetes
appears as: socat

This is an excerpt from Manning's book Core Kubernetes.
Now let’s talk about the tools that allow us to access containers running in namespaces.
kubectl execallows you (as you probably know) to run any command in any image running on your cluster, including opening a shell into a container. Whilekubectl port-forwardallows you to forward a cluster service port to a laptop, and both of these commands utilize Linux primitives,nscenterandsocat.