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

Failed to watch /v1, Resource=namespaces showed in the /tmp/k9s.ERROR file #2988

Open
zhudongc opened this issue Nov 23, 2024 · 0 comments
Open

Comments

@zhudongc
Copy link




Describe the bug
Keep output "Failed to watch /v1, Resource=namespaces ... " message in /tmp/k9s.ERROR file.

To Reproduce
Run the K9s cli:

  1. tail -f /tmp/k9s.ERROR

Expected behavior
Should can watch and list /v1, Resource=namespaces, without output the corresponding error logs.

Versions (please complete the following information):

  • OS: Ubuntu 20.04.5 LTS
  • K9s: v0.29.1
  • K8s: v1.28.8

Additional context

zhudongc@master01:/tmp$ tail -f k9s.ERROR
E1123 17:31:52.783332   22803 reflector.go:147] k8s.io/[email protected]/tools/cache/reflector.go:229: Failed to watch /v1, Resource=namespaces: failed to list /v1, Resource=namespaces: the server could not find the requested resource
E1123 17:31:59.150587   22803 reflector.go:147] k8s.io/[email protected]/tools/cache/reflector.go:229: Failed to watch /v1, Resource=namespaces: failed to list /v1, Resource=namespaces: the server could not find the requested resource
E1123 17:32:37.238186   22803 reflector.go:147] k8s.io/[email protected]/tools/cache/reflector.go:229: Failed to watch /v1, Resource=namespaces: failed to list /v1, Resource=namespaces: the server could not find the requested resource
^C
zhudongc@master01:/tmp$
zhudongc@master01:/tmp$ k get no
NAME       STATUS   ROLES           AGE    VERSION
master01   Ready    control-plane   223d   v1.28.8
node01     Ready    <none>          223d   v1.28.8
zhudongc@master01:/tmp$ k get ns
NAME              STATUS   AGE
default           Active   223d
krm               Active   192d
kube-node-lease   Active   223d
kube-public       Active   223d
kube-system       Active   223d
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

1 participant