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

This plugin does not return any result #26

Closed
piyush-saurabh opened this issue Sep 21, 2020 · 3 comments
Closed

This plugin does not return any result #26

piyush-saurabh opened this issue Sep 21, 2020 · 3 comments

Comments

@piyush-saurabh
Copy link

I keep on getting the below error even if the resource exists on k8 cluster. This is true for all the deployments.

scanning deployment kubernetes-dashboard in namespace kube-system the server could not find the requested resource

Below are the details of the client and server
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:23:26Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.6", GitCommit:"d32e40e20d167e103faf894261614c5b45c44198", GitTreeState:"clean", BuildDate:"2020-05-20T13:08:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

@chrismld
Copy link

I'm having the same problem, when I install the plugin, it's saying that the resource is not found

@si458
Copy link
Contributor

si458 commented Nov 28, 2020

it appears to be an incompatibility error with k8s clusters after 1.16
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
the app appears to be making a request to
https://yourserver:6443/apis/apps/v1beta2/namespaces/testnamespace/deployments/testdeployment
v1beta2 was removed in the k8s 1.16 release
#27 should do the trick 👍

@spiarh
Copy link
Contributor

spiarh commented Jan 26, 2023

We have released a new version with a bunch of fixes and this works now with recent versions.

If you have any issue, feel free to open a new issue. Thanks 😉

See the release page: https://github.com/controlplaneio/kubectl-kubesec/releases/tag/v1.1.0

@spiarh spiarh closed this as completed Jan 26, 2023
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

4 participants