Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbo Server version should be discovered #128

Open
evat-pm opened this issue Dec 4, 2017 · 1 comment
Open

Turbo Server version should be discovered #128

evat-pm opened this issue Dec 4, 2017 · 1 comment

Comments

@evat-pm
Copy link
Collaborator

evat-pm commented Dec 4, 2017

the kubeTurbo pod references a config file that contains information about the Turbo server including version like this:

/etc/kubeturbo/evaconfig
"serverMeta": {
"version": "6.0.2-SNAPSHOT",

however this explicit setting means that if the Turbo server is updated (changes version), kubeTurbo will fail connection, and the negotiation failure message is not logged. Could we discover the Turbo server version, and then determine if it is a supported version for the kubeTurbo image (defined in the yaml) to have the container be more flexible to the supported versions of Turbo server?

@songbinliu
Copy link
Contributor

Enlin mentioned that there is an API to get this version:

curl -X GET --header “Accept: application/json” “https://<IP_TURBO>/vmturbo/rest/admin/versions” 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants