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)

* updating manifests with hints notes
  • Loading branch information
gizas authored Jul 16, 2024
1 parent 7fffe15 commit 27dacc5
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 @@ -52,6 +52,7 @@ echo "" >> $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 27dacc5

Please sign in to comment.