-
Notifications
You must be signed in to change notification settings - Fork 290
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
[BUG] Failed to list *v1beta1.Ingress: the server could not find the requested resources #204
Comments
@daegeun-ha as you know, after K8s 1.16,
Since the endpoint of the Ingress resource has been changed, it needs at least K8s v1.14 version to work. This error has nothing to do with other functionalities, you can still monitor other resources. You can ignore this message or remove |
What error do you see after removing ingress from the configuration? |
Same errors are printed (Actually the upper error msgs are printed after removing ingress from the configuration..!) |
Oh, now I got it. |
The recommended fix would be to upgrade your cluster (for security and other reasons) If you still want to use older apigroups, the hackish fix would be to revert this change: 8835dea#diff-fb81b0a96eed5b010cfb081b3aef4431L106 |
Thank you, I'll try it! |
It'll be great I can upgrade the cluster, but I'm just a new person on this company. By the way, your suggestion works well. Thank you again! |
Describe the bug
When we get logs from running botkube pod, the error msg('E1018 06:30:18.211393 1 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20190918160344-1fbdaa4c8d90/tools/cache/reflector.go:96: Failed to list *v1beta1.Ingress: the server could not find the requested resource') is repeated infinitely.
I think it is some problem of version difference. Because I saw related news about this. (https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/)
Now our kubernetes version is:
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:44:30Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.3", GitCommit:"435f92c719f279a3a67808c80521ea17d5715c66", GitTreeState:"clean", BuildDate:"2018-11-26T12:46:57Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
How can I fix it?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Because we are running global kubernetes cluster, now I cannot upgrade version of the kubernetes.. I think it it'll be nice if I can change some library in codes.
The text was updated successfully, but these errors were encountered: