Thanks to visit codestin.com
Credit goes to github.com

Skip to content

K9s stuck loading cluster V0.10 #456

@b-palaniappan

Description

@b-palaniappan




Describe the bug
Not able to load the k9s when connecting to cluster where I have access only to one namespace. But it works fine, when I try to connect to local Kubernetes cluster (for which I have full access). This used to work in version < 0.10

To Reproduce
Steps to reproduce the behavior:

  1. Go to windows Command prompt
  2. Run command k9s

Expected behavior
Expect to see window for K9s. I get that when I am running against my Docker for Windows which have Kubernetes enabled.

Screenshots
image

Versions (please complete the following information):

  • OS: Windows 10
  • K9s: 0.10.3
  • K8s: 1.14.8

Additional context
Error in the log file,

�[90m4:26PM�[0m �[32mINF�[0m 🐶 K9s starting up...
�[90m4:26PM�[0m �[32mINF�[0m ✅ Kubernetes connectivity
�[90m4:26PM�[0m �[32mINF�[0m No cluster specific skin file found -- C:\Users\xxxxxxxx\.k9s\ucp_ucp-test.xxxxxxxx.xxx:6443_xxxxxxxx_skin.yml
�[90m4:26PM�[0m �[32mINF�[0m No skin file found -- C:\Users\xxxxxxxx\.k9s\skin.yml. Loading stock skins.
�[90m4:26PM�[0m �[32mINF�[0m No benchmark config file found, using defaults. �[31merror=�[0m�[31m"open C:\\Users\\xxxxxxxx\\.k9s\\bench-ucp_ucp-test.xxxxxxxx.xxx:6443_xxxxxxxx.yml: The system cannot find the file specified."�[0m
Log file created at: 2019/12/31 16:26:23
Running on machine: XXXXXXXX
Binary: Built with gc go1.13.4 for windows/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E1231 16:26:23.726302   14580 reflector.go:123] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:96: Failed to list *unstructured.Unstructured: customresourcedefinitions.apiextensions.k8s.io is forbidden: User "99464d71-4b85-4008-b865-74bc56bbabf8" cannot list resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope: access denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions