Elastic have just released for GA Elasticsearch and Kibana 5. The cadvisor elasticsearch driver doesn't seem to support the latest version of elasticsearch.
'Failed to initialize storage driver: failed to create the elasticsearch client - no Elasticsearch node available'
Changing my image tag from elasticsearch:latest to elasticsearch:2 has fixed the issue. Is there a plan to make this work with 5.0?
Should have looked, current requirement is 'gopkg.in/olivere/elastic.v2'. v5 isn't stable yet.
Elastic is showing GA on v5, so I'd like to +1 the release.
Yes , same issue , it fails on initiliazing . When can this be available
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
It will be great to have es 5 support
+1
Check pull request 1597, hope will merge soon.
+1
+1
+1
+1
+1
+1
ES5 support #1597 is currently blocked by #1458.
+1
+1
+1
+1
+1
+1
+1
+1
+1
Does this issue still exist that cadvisor works fine only with elasticserach version 2 and not above that? I have elasticserach instance with version 5.4.0 and on running cadvisor it gives me following error.
docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--publish=9091:8080 \
--detach=true \
--name=cadvisor5 \
docker.fmr.com/google/cadvisor:latest\
-storage_driver=elasticsearch -storage_driver_es_host="http://my_elk.fcorp.com:9200"
F0912 07:50:13.460296 1 cadvisor.go:117] Failed to initialize storage driver: failed to create the elasticsearch client - no Elasticsearch node available
+1
+1
+1
+1
Most helpful comment
+1