Sharing Processes in MC Pods
MC = multi container
Containers isolate proceses, so containers cannot see eachothers processes. You can set Namespace: true
to make processes visible amongst all containers in a pod:
...
spec:
...
template:
...
spec:
shareProcessNamespace: true
containers:
...
If you enable this: - containers can kill eachother’s processes - enable interproces communication - fetch metrics about the app process