Skip to content

Commit

Permalink
Use v8format=true for Kibana health check (elastic#28185)
Browse files Browse the repository at this point in the history
The default format of the /api/status output is changing so update our
check. We'll use v8format=true so that checks against older images will
pass too.

Relates elastic/kibana#110830
  • Loading branch information
andrewkroh authored and wiwen committed Nov 1, 2021
1 parent 2aeff3e commit e7dac44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/environments/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ services:
kibana:
image: docker.elastic.co/kibana/kibana:8.0.0-7e122dd9-SNAPSHOT
healthcheck:
test: ["CMD-SHELL", "curl -s http://localhost:5601/api/status | grep -q 'Looking good'"]
test: ["CMD-SHELL", "curl -s http://localhost:5601/api/status?v8format=true | grep -q '\"overall\":{\"level\":\"available\"'"]
retries: 600
interval: 1s

0 comments on commit e7dac44

Please sign in to comment.