orchestracities / ngsi-timeseries-api

QuantumLeap: a FIWARE Generic Enabler to support the usage of NGSIv2 (and NGSI-LD experimentally) data in time-series databases
https://quantumleap.rtfd.io/
MIT License
38 stars 49 forks source link

Sanity check GET /version returns 404 on Docker Image tagged :0.7.5 while working on :latest #297

Closed pinkerltm closed 4 years ago

pinkerltm commented 4 years ago

I deployed smartsdk/quantumleap:0.7.5 on a kubernetes cluster but it did not pass the sanity check of a GET Request on localhost:8668/version as it always returned 404.

As I changed to tag smartsdk/quantumleap:latest, a sanity check returnes Status Code 200 and version number 0.7.5 in the content.

I also recognized, that both images are different in size.

chicco785 commented 4 years ago

i believe /version works only for next release, 0.7.5 is still using /v2/version

c0c0n3 commented 4 years ago

@pinkerltm thank you for trying Quantum Leap. @chicco785 is right. If you'd like to use the current stable release 0.7.5, then the version endpoint is at /v2/version. On the other hand if you'd rather be on the bleeding edge and use the latest image on DockerHub, then the path is: /version. Further details in #274.

chicco785 commented 4 years ago

@pinkerltm on another matter, this may be relevant to you: https://github.com/orchestracities/charts