concept socat in category kubernetes

appears as: socat
Core Kubernetes

This is an excerpt from Manning's book Core Kubernetes.

3.4  Primitives in action: nscenter and socat

Now let’s talk about the tools that allow us to access containers running in namespaces. kubectl exec allows you (as you probably know) to run any command in any image running on your cluster, including opening a shell into a container. While kubectl port-forward allows you to forward a cluster service port to a laptop, and both of these commands utilize Linux primitives, nscenter and socat.