Skip to content

Commit 1f80b49

Browse files
authored
k8s: Add comment around hostUsers for Universal Profiling deployments (#9847)
In order to set procMount to Unmasked, the additional setting hostUsers net to be set to false. Signed-off-by: Florian Lehner <[email protected]>
1 parent d8ea9a0 commit 1f80b49

File tree

10 files changed

+30
-0
lines changed

10 files changed

+30
-0
lines changed

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
@@ -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-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)