Skip to content

Commit fb226e3

Browse files
committed
[deploy/kubernetes]: add info about hostPID for Universal Profiling
#4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. Signed-off-by: Florian Lehner <[email protected]>
1 parent 2f0ba69 commit fb226e3

File tree

11 files changed

+72
-0
lines changed

11 files changed

+72
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Kind can be one of:
2+
# - breaking-change: a change to previously-documented behavior
3+
# - deprecation: functionality that is being removed in a later release
4+
# - bug-fix: fixes a problem in a previous version
5+
# - enhancement: extends functionality but does not break or fix existing behavior
6+
# - feature: new functionality
7+
# - known-issue: problems that we are aware of in a given version
8+
# - security: impacts on the security of a product or a user’s deployment.
9+
# - upgrade: important information for someone upgrading from a prior version
10+
# - other: does not fit into any of the other categories
11+
kind: bug-fix
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: add info about hostPID for Universal Profiling
15+
16+
# Long description; in case the summary is not enough to describe the change
17+
# this field accommodate a description without length limits.
18+
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
19+
#description:
20+
21+
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
22+
component: "elastic-agent"
23+
24+
# PR URL; optional; the PR number that added the changeset.
25+
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
26+
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
27+
# Please provide it if you are adding a fragment for a different PR.
28+
#pr: https://github.com/owner/repo/1234
29+
30+
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
31+
# If not present is automatically filled by the tooling with the issue linked to the PR number.
32+
#issue: https://github.com/owner/repo/1234

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: true
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: true
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: true
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: false
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: true
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent-standalone
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: false
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: true
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- key: node-role.kubernetes.io/master
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
26+
# The following setting is needed for Universal Profiling to observe all processes on the host
27+
# and produce userspace frames.
28+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
29+
# hostPID: true
2630
hostNetwork: true
2731
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
2832
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,10 @@ spec:
699699
- key: node-role.kubernetes.io/master
700700
effect: NoSchedule
701701
serviceAccountName: elastic-agent-standalone
702+
# The following setting is needed for Universal Profiling to observe all processes on the host
703+
# and produce userspace frames.
704+
# If you are using the Universal Profiling integration, please uncomment the following line before applying.
705+
# hostPID: true
702706
hostNetwork: true
703707
# The following setting is needed for Universal Profiling to allow to set procMount to "Unmasked".
704708
# If you are using the Universal Profiling integration, please uncomment the following line before applying.

0 commit comments

Comments
 (0)