Hi , Welcome to MS Q&A
Azure Container Apps does not directly support sharing PID namespaces among containers within the same app. However, you can achieve similar functionality by using Kubernetes on Azure Container Apps.
In Kubernetes, you can indeed use the shareProcessNamespace
option in a Pod spec to share the PID namespace among containers within the same Pod. This allows all containers in the Pod to view and signal processes in other containers within the same namespace.
To leverage this functionality in Azure Container Apps, you would need to deploy your containers using Kubernetes. Azure provides Azure Kubernetes Service (AKS), which is a managed Kubernetes service that makes it easy to deploy, manage, and scale containerized applications using Kubernetes on Azure.
By deploying your containers on AKS, you can create Pods with shared PID namespaces using the shareProcessNamespace
option in the Pod spec, achieving the equivalent functionality of shareProcessNamespace
in Kubernetes.
Please check for ref -->
https://learn.microsoft.com/en-us/azure/container-apps/compare-options
Kindly accept answer if it helps, if you have further questions, please let me know Thanks!