starrocks-kubernetes-operator icon indicating copy to clipboard operation
starrocks-kubernetes-operator copied to clipboard

Enable shareProcessNamespace option for sidecar container

Open dengliu opened this issue 8 months ago • 3 comments

Describe the problem

In Kubernetes, the shareProcessNamespace field in a Pod specification determines whether all containers within the pod share the same process namespace. When set to true, containers within the pod can see each other’s processes (as shown by commands like ps), which can be useful for debugging or running sidecar containers that need to interact with the processes in the main container.

Describe the solution you'd like

Have an option in the helm chart value file to enable shareProcessNamespace

Additional context

dengliu avatar Jun 05 '24 19:06 dengliu