diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml index 04246ba3947..440dc30d422 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index e1a23d3533c..d3c19dec1d9 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent-standalone hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet # Uncomment if using hints feature #initContainers: diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml index fbcad953e0f..6bcf53e6f16 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml index fb28ca5b998..43222a0c4dc 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent hostNetwork: false + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index b9c86aa947e..d23ce227123 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent-standalone hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet # Uncomment if using hints feature #initContainers: diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml index 2fb08a7b36f..ce3c2ab36b5 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent-standalone hostNetwork: false + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet # Uncomment if using hints feature #initContainers: diff --git a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml index 03df442d96c..5691e95ab36 100644 --- a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent diff --git a/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml index 306b9fd2d4d..3d23e1c7169 100644 --- a/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index 38b46db63bb..53f28ed613e 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -700,6 +700,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent-standalone hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet # Uncomment if using hints feature #initContainers: diff --git a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml index d505b6644c9..45a26c533ce 100644 --- a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml @@ -24,6 +24,9 @@ spec: effect: NoSchedule serviceAccountName: elastic-agent-standalone hostNetwork: true + # The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked". + # If you are using the Universal Profiling integration, please uncomment the following line before applying. + # hostUsers: false dnsPolicy: ClusterFirstWithHostNet # Uncomment if using hints feature #initContainers: