Skip to content

Commit

Permalink
Remove artifacts from deprecated Elastic Endpoint in K8s project (#4081)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre HILBERT <pierre.hilbert@elastic.co>
  • Loading branch information
norrietaylor and pierrehilbert committed Jul 4, 2024
1 parent a1fc480 commit 8e35021
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
effect: NoSchedule
serviceAccountName: elastic-agent
hostNetwork: true
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
hostPID: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
Expand Down Expand Up @@ -142,7 +139,7 @@ spec:
hostPath:
path: /var/lib
# Mount /etc/machine-id from the host to determine host ID
# Needed for Elastic Security integration
# Needed for Kubernetes node autodiscovery
- name: etc-mid
hostPath:
path: /etc/machine-id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
effect: NoSchedule
serviceAccountName: elastic-agent
hostNetwork: true
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
hostPID: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
Expand Down Expand Up @@ -142,7 +139,7 @@ spec:
hostPath:
path: /var/lib
# Mount /etc/machine-id from the host to determine host ID
# Needed for Elastic Security integration
# Needed for Kubernetes node autodiscovery
- name: etc-mid
hostPath:
path: /etc/machine-id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
effect: NoSchedule
serviceAccountName: elastic-agent
hostNetwork: false
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
hostPID: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
Expand Down Expand Up @@ -142,7 +139,7 @@ spec:
hostPath:
path: /var/lib
# Mount /etc/machine-id from the host to determine host ID
# Needed for Elastic Security integration
# Needed for Kubernetes node autodiscovery
- name: etc-mid
hostPath:
path: /etc/machine-id
Expand Down
5 changes: 1 addition & 4 deletions deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
effect: NoSchedule
serviceAccountName: elastic-agent
hostNetwork: true
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
hostPID: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
Expand Down Expand Up @@ -142,7 +139,7 @@ spec:
hostPath:
path: /var/lib
# Mount /etc/machine-id from the host to determine host ID
# Needed for Elastic Security integration
# Needed for Kubernetes node autodiscovery
- name: etc-mid
hostPath:
path: /etc/machine-id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
effect: NoSchedule
serviceAccountName: elastic-agent
hostNetwork: true
# 'hostPID: true' enables the Elastic Security integration to observe all process exec events on the host.
# Sharing the host process ID namespace gives visibility of all processes running on the same host.
hostPID: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
Expand Down Expand Up @@ -142,7 +139,7 @@ spec:
hostPath:
path: /var/lib
# Mount /etc/machine-id from the host to determine host ID
# Needed for Elastic Security integration
# Needed for Kubernetes node autodiscovery
- name: etc-mid
hostPath:
path: /etc/machine-id
Expand Down

0 comments on commit 8e35021

Please sign in to comment.