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

Could we add ServiceAccount Column in v1/POD view #2945

Closed
mcortinas opened this issue Oct 31, 2024 · 1 comment
Closed

Could we add ServiceAccount Column in v1/POD view #2945

mcortinas opened this issue Oct 31, 2024 · 1 comment
Labels
question Further information is requested

Comments

@mcortinas
Copy link

Let me share my custom views.yaml and let me ask... how could I add the column serviceaccount in the POD view?
I'll try it "SERVICEACCOUNT" and "SERVICEACCOUNTNAME" without lucky....
Let me also add the documentation is not very clear about the columns we can add: https://k9scli.io/topics/columns/

views:
  # Alters the pod view column layout. Uses GVR as key
  v1/pods:
    # Overrides default sort column
    sortColumn: AGE:asc
    columns:
      - NAME
      - NAMESPACE
      - PF
      - READY
      - STATUS
      - RESTARTS
      - CPU
      - MEM
      - "%CPU/R"
      - "%CPU/L"
      - "%MEM/R"
      - "%MEM/L"
      - IP
      - NODE
      - AGE
      - QOS
      - LABELS
      - SERVICEACCOUNTNAME
      - SERVICEACCOUNT
@derailed
Copy link
Owner

@mcortinas K9s does its best to follow kubectl column naming conventions. Typically to see available cols names you would run kubectl get xxx -owide.
To surface sa col, k9s will need to provide for custom cols which is not currently supported.

@derailed derailed added the question Further information is requested label Nov 14, 2024
derailed added a commit that referenced this issue Nov 16, 2024
@derailed derailed mentioned this issue Nov 16, 2024
derailed added a commit that referenced this issue Nov 16, 2024
derailed added a commit that referenced this issue Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants