Skip to content

Commit 8e35021

Browse files
Remove artifacts from deprecated Elastic Endpoint in K8s project (elastic#4081)
Co-authored-by: Pierre HILBERT <pierre.hilbert@elastic.co>
1 parent a1fc480 commit 8e35021

File tree

5 files changed

+5
-20
lines changed

5 files changed

+5
-20
lines changed

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27-
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
28-
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
29-
hostPID: true
3027
dnsPolicy: ClusterFirstWithHostNet
3128
containers:
3229
- name: elastic-agent
@@ -142,7 +139,7 @@ spec:
142139
hostPath:
143140
path: /var/lib
144141
# Mount /etc/machine-id from the host to determine host ID
145-
# Needed for Elastic Security integration
142+
# Needed for Kubernetes node autodiscovery
146143
- name: etc-mid
147144
hostPath:
148145
path: /etc/machine-id

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27-
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
28-
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
29-
hostPID: true
3027
dnsPolicy: ClusterFirstWithHostNet
3128
containers:
3229
- name: elastic-agent
@@ -142,7 +139,7 @@ spec:
142139
hostPath:
143140
path: /var/lib
144141
# Mount /etc/machine-id from the host to determine host ID
145-
# Needed for Elastic Security integration
142+
# Needed for Kubernetes node autodiscovery
146143
- name: etc-mid
147144
hostPath:
148145
path: /etc/machine-id

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: false
27-
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
28-
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
29-
hostPID: true
3027
dnsPolicy: ClusterFirstWithHostNet
3128
containers:
3229
- name: elastic-agent
@@ -142,7 +139,7 @@ spec:
142139
hostPath:
143140
path: /var/lib
144141
# Mount /etc/machine-id from the host to determine host ID
145-
# Needed for Elastic Security integration
142+
# Needed for Kubernetes node autodiscovery
146143
- name: etc-mid
147144
hostPath:
148145
path: /etc/machine-id

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27-
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
28-
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
29-
hostPID: true
3027
dnsPolicy: ClusterFirstWithHostNet
3128
containers:
3229
- name: elastic-agent
@@ -142,7 +139,7 @@ spec:
142139
hostPath:
143140
path: /var/lib
144141
# Mount /etc/machine-id from the host to determine host ID
145-
# Needed for Elastic Security integration
142+
# Needed for Kubernetes node autodiscovery
146143
- name: etc-mid
147144
hostPath:
148145
path: /etc/machine-id

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:
2424
effect: NoSchedule
2525
serviceAccountName: elastic-agent
2626
hostNetwork: true
27-
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
28-
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
29-
hostPID: true
3027
dnsPolicy: ClusterFirstWithHostNet
3128
containers:
3229
- name: elastic-agent
@@ -142,7 +139,7 @@ spec:
142139
hostPath:
143140
path: /var/lib
144141
# Mount /etc/machine-id from the host to determine host ID
145-
# Needed for Elastic Security integration
142+
# Needed for Kubernetes node autodiscovery
146143
- name: etc-mid
147144
hostPath:
148145
path: /etc/machine-id

0 commit comments

Comments
 (0)