Skip to content

Commit

Permalink
Fix apm-server args
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga committed Feb 28, 2025
1 parent 74d3f31 commit 8b19999
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions k8s/k8s-manifest-elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,26 +172,28 @@ spec:
- |
echo "Waiting for kibana to be available";
until curl -s http://kibana:5601/api/status | grep -q 'available'; do sleep 5; done;
echo "Found kibana";
containers:
- name: apm-server
image: docker.elastic.co/apm/apm-server:8.17.2
ports:
- containerPort: 8200
env:
- name: apm-server.kibana.enabled
value: "true"
- name: apm-server.kibana.host
value: http://kibana:5601
- name: apm-server.kibana.username
value: elastic
- name: apm-server.kibana.password
value: elastic
- name: output.elasticsearch.hosts
value: http://elasticsearch:9200
- name: output.elasticsearch.username
value: elastic
- name: output.elasticsearch.password
value: elastic
command:
- /usr/local/bin/docker-entrypoint
- -E
- setup.kibana.enabled=true
- -E
- setup.kibana.host=kibana:5601
- -E
- setup.kibana.username=elastic
- -E
- setup.kibana.password=elastic
- -E
- output.elasticsearch.hosts=[elasticsearch:9200]
- -E
- output.elasticsearch.username=elastic
- -E
- output.elasticsearch.password=elastic
readinessProbe:
tcpSocket:
port: 8200
Expand Down

0 comments on commit 8b19999

Please sign in to comment.