StarRocks / starrocks-kubernetes-operator

Kubernetes Operator for StarRocks
Apache License 2.0
133 stars 67 forks source link

Enable shareProcessNamespace option for sidecar container #540

Open dengliu opened 4 months ago

dengliu commented 4 months ago

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

yandongxiao commented 4 months ago

will check how to support it.

dengliu commented 1 week ago

Hi @yandongxiao Any update on this?

yandongxiao commented 1 week ago

Not yet. But I think it is easy to do it. Will support it in the next release.