Skip to content

k9s crashes when :namespaces used #3608

@CmdrChaos

Description

@CmdrChaos




Describe the bug
When I use kubectl to get namespaces everything works as expected. From with k9s when I use :namespaces it crashes hard with this error

E1006 15:43:49.283004 71577 reflector.go:205] "Failed to watch" err="failed to list /v1, Resource=namespaces: the server could not find the requested resource" logger="UnhandledError" reflector="k8s.io/client-go@v0.34.1/tools/cache/reflector.go:290" type="/v1, Resource=namespaces"
log: exiting because of error: log: cannot create log: open /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/k9s.ALNdspringfMac.dspringf.log.ERROR.20251006-154349.71577: permission denied

This began after I upgraded to Sequoia 15.7.1 (24G231)

To Reproduce
Steps to reproduce the behavior:

  1. start k9s
  2. type :namespaces
  3. See Error

Historical Documents

Expected behavior
See a list of available namespaces and have the option to select one

Screenshots

Versions (please complete the following information):

  • OS: Sequoia 15.7.1 (24G231)
  • K9s: 0.50.13
  • K8s: Client Version: v1.34.1. Kustomize Version: v5.7.1, Server Version: v1.32.8-eks-e386d34

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions