Skip to content

Commit 7c8bf31

Browse files
committed
k8s: Add comment around hostUsers for Universal Profiling deployments
In order to set procMount to Unmasked, the additional setting hostUsers net to be set to false. Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
1 parent dcdcf42 commit 7c8bf31

10 files changed

Lines changed: 30 additions & 0 deletions

File tree

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
containers:
2932
- name: elastic-agent

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
2626
hostNetwork: true
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
# Uncomment if using hints feature
2932
#initContainers:

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
containers:
2932
- name: elastic-agent

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: false
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
containers:
2932
- name: elastic-agent

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
2626
hostNetwork: true
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
# Uncomment if using hints feature
2932
#initContainers:

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
2626
hostNetwork: false
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
# Uncomment if using hints feature
2932
#initContainers:

deploy/kubernetes/elastic-agent-managed-kubernetes.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ spec:
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
2727
dnsPolicy: ClusterFirstWithHostNet
28+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
29+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
30+
# hostUsers: false
2831
containers:
2932
- name: elastic-agent
3033
image: docker.elastic.co/elastic-agent/elastic-agent:9.2.0

deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
containers:
2932
- name: elastic-agent

deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,9 @@ spec:
700700
effect: NoSchedule
701701
serviceAccountName: elastic-agent-standalone
702702
hostNetwork: true
703+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
704+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
705+
# hostUsers: false
703706
dnsPolicy: ClusterFirstWithHostNet
704707
# Uncomment if using hints feature
705708
#initContainers:

deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
2626
hostNetwork: true
27+
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostUsers: false
2730
dnsPolicy: ClusterFirstWithHostNet
2831
# Uncomment if using hints feature
2932
#initContainers:

0 commit comments

Comments
 (0)