Skip to content

Frequent timeout when listing some resources but kubectl works #3207

Open
@maxsxu

Description

@maxsxu




Describe the bug

The K9s unable to list the resources, but kubectl can do.

Here is the debug log for listing argo workflow templates:

�[2m5:17PM�[0m DBG No DAO registry entry. Using generics! �[2mgvr=�[0margoproj.io/v1alpha1/workflowtemplates
�[2m5:17PM�[0m �[91mERR�[0m Flashing error �[2merror=�[0m"unexpected error when reading response body. Please retry. Original error: net/http: request canceled (Client.Timeout or context cancellation while reading body)" �[2mmessage=�[0m"Watcher failed for argoproj.io/v1alpha1/workflowtemplates -- unexpected error when reading response body. Please retry. Original error: net/http: request canceled (Client.Timeout or context cancellation while reading body)"
�[2m5:17PM�[0m DBG History �[2mstack=�[0m"[context workflowtemplate]"

but it can list Workflow.

And sometimes it cannot list Secret, but kubectl can do.

To Reproduce
Steps to reproduce the behavior:

  1. Open k9s
  2. List argo WorkflowTemplate, or Secret
  3. See error

Historical Documents
When applicable please include any supporting artifacts: k9s debug logs, configurations, resource manifests, ...

Expected behavior

K9s can list any resources as long as I have access and networking connection.

Screenshots

Image

Versions (please complete the following information):

  • OS: macOS
  • K9s: v0.40.10
  • K8s: v1.32.2

Additional context

At beginning I thought it's due to too many resource? but actually there're only ~130 WorkflowTemplates in my cluster,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions