We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It appears the latest version of kubectl is not compatible with v1.9.6
Marks-MacBook-Pro:prest molliver$ kd --config /Users/molliver/git/borders/platform/kube-secrets/dev.env -f ./network-policy.yaml [INFO] 2018/03/29 10:53:55 main.go:278: deploying networkpolicy/prest [ERROR] 2018/03/29 10:53:56 main.go:122: Error from server (NotAcceptable): unknown Marks-MacBook-Pro:prest molliver$ which kubectl /usr/local/bin/kubectl Marks-MacBook-Pro:prest molliver$ sum which kubectl 5542 52618 /usr/local/bin/kubectl Marks-MacBook-Pro:prest molliver$ kubectl version Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-27T00:13:02Z", GoVersion:"go1.9.4", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.6+a08f5eeb62", GitCommit:"c84beff", GitTreeState:"clean", BuildDate:"2018-03-15T19:58:35Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
which kubectl
Yet when I switch just kubectl back to the earlier 1.9.6 version kd works fine.
Regards
Mark
The text was updated successfully, but these errors were encountered:
Maybe overkill but I recommend moving from kubectl to kube client library and making calls as such (e.g.): https://github.com/arehmandev/kubernetes/blob/997861d86635c8c9517ee290f1d79ebb85da155d/staging/src/k8s.io/client-go/examples/out-of-cluster-client-configuration/main.go
But in the short term you could add a kubectl version check.
Sorry, something went wrong.
@arehmandev created #99 for now...
No branches or pull requests
It appears the latest version of kubectl is not compatible with v1.9.6
Marks-MacBook-Pro:prest molliver$ kd --config /Users/molliver/git/borders/platform/kube-secrets/dev.env -f ./network-policy.yaml
[INFO] 2018/03/29 10:53:55 main.go:278: deploying networkpolicy/prest
[ERROR] 2018/03/29 10:53:56 main.go:122: Error from server (NotAcceptable): unknown
Marks-MacBook-Pro:prest molliver$ which kubectl
/usr/local/bin/kubectl
Marks-MacBook-Pro:prest molliver$ sum
which kubectl
5542 52618 /usr/local/bin/kubectl
Marks-MacBook-Pro:prest molliver$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-27T00:13:02Z", GoVersion:"go1.9.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.6+a08f5eeb62", GitCommit:"c84beff", GitTreeState:"clean", BuildDate:"2018-03-15T19:58:35Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Yet when I switch just kubectl back to the earlier 1.9.6 version kd works fine.
Regards
Mark
The text was updated successfully, but these errors were encountered: