solo-io / kubesquash

A debugger for Kubernetes applications.
228 stars 15 forks source link

Kuberentes version on GKE causes check failure #2

Closed vishal-biyani closed 6 years ago

vishal-biyani commented 6 years ago

This looks like a problem specific to GKE clusters, but I might be wrong. The kubectl version on GKE adds a + to the minor version.

$ kubectl version
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.4-gke.0", GitCommit:"c08fe9548257472151a8fa298bd6c3e9ea1b8c09", GitTreeState:"clean", BuildDate:"2018-06-06T11:34:07Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

This causes the kubesquash to not install even though the version is 1.10 or higher.

$ ./kubesquash-osx 
NOTE: can't detect kubernetes version.
strconv.Atoi: parsing "10+": invalid syntax
yuval-k commented 6 years ago

fixed by #3