<p>Is there any approach that one container can call command in another container? The containers are in the same pod.</p>

<p>I need many command line tools which are shipped as image as well as in packages. But I don’t want to install all of them into one container because of some concerns.</p>

<p>This is very possible as long as you have k8s v1.17+. You must enable <code>shareProcessNamespace: true</code> and then all the container processes are available to other containers in the same pod. </p>

<p><a href="https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/" rel="noreferrer">Here are the docs, have a look.</a></p>
