Skip to content

Commit

Permalink
Fixing the hints autodiscovery configuration path in Elastic Agent Ma…
Browse files Browse the repository at this point in the history
…nifests (#5136) (#5138)

* updating manifests with hints notes

(cherry picked from commit 27dacc5)

Co-authored-by: Andrew Gizas <[email protected]>
  • Loading branch information
mergify[bot] and gizas authored Jul 16, 2024
1 parent e952ac5 commit a3ce1b1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions deploy/kubernetes/creator_k8s_manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ echo -n "\`;" >> $OUTPUT_FILE

#Replacing all occurencies of elastic-agent-standalone
sed -i -e 's/elastic-agent-standalone/elastic-agent/g' $OUTPUT_FILE
sed -i -e 's/elastic-agent\/templates.d/elastic-agent-standalone\/templates.d/g' $OUTPUT_FILE

#Remove ES_HOST entry from file
sed -i -e '/# The Elasticsearch host to communicate with/d' $OUTPUT_FILE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ data:
providers.kubernetes:
node: ${NODE_NAME}
scope: node
#Uncomment to enable hints' support
#Uncomment to enable hints' support - https://www.elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html
#hints.enabled: true
#hints.default_container_logs: true
inputs:
- id: kubernetes-cluster-metrics
condition: ${kubernetes_leaderelection.leader} == true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ data:
providers.kubernetes:
node: ${NODE_NAME}
scope: node
#Uncomment to enable hints' support
#Uncomment to enable hints' support - https://www.elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html
#hints.enabled: true
#hints.default_container_logs: true
inputs:
- id: kubernetes-cluster-metrics
condition: ${kubernetes_leaderelection.leader} == true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ data:
providers.kubernetes:
node: ${NODE_NAME}
scope: node
#Uncomment to enable hints' support
#Uncomment to enable hints' support - https://www.elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html
#hints.enabled: true
#hints.default_container_logs: true
inputs:
- id: kubernetes-cluster-metrics
condition: ${kubernetes_leaderelection.leader} == true
Expand Down
3 changes: 2 additions & 1 deletion deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ data:
providers.kubernetes:
node: ${NODE_NAME}
scope: node
#Uncomment to enable hints' support
#Uncomment to enable hints' support - https://www.elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html
#hints.enabled: true
#hints.default_container_logs: true
inputs:
- id: kubernetes-cluster-metrics
condition: ${kubernetes_leaderelection.leader} == true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ data:
providers.kubernetes:
node: ${NODE_NAME}
scope: node
#Uncomment to enable hints' support
#Uncomment to enable hints' support - https://www.elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html
#hints.enabled: true
#hints.default_container_logs: true
inputs:
- id: kubernetes-cluster-metrics
condition: ${kubernetes_leaderelection.leader} == true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ data:
providers.kubernetes:
node: ${NODE_NAME}
scope: node
#Uncomment to enable hints' support
#Uncomment to enable hints' support - https://www.elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html
#hints.enabled: true
#hints.default_container_logs: true
inputs:
- id: kubernetes-cluster-metrics
condition: ${kubernetes_leaderelection.leader} == true
Expand Down

0 comments on commit a3ce1b1

Please sign in to comment.