Replies: 1 comment
|
Thanks for describing the use case. Custom columns are already supported in the current code through the views section in the config file. See the custom view documentation. You can select fields with JSON Pointer paths such as The field syntax is JSON Pointer, rather than JSONPath or Go templates. Separate visibility controls for each column are not covered by wide mode. Which sofka version are you using? Could you share a resource or CRD example and the columns you want to display? That will help us check whether the existing configuration meets your needs or whether a specific change is needed. |
Uh oh!
There was an error while loading. Please reload this page.
What problem are you trying to solve?
Currently, sofka uses a generic rendering pipeline with hardcoded/built-in columns for standard Kubernetes resources, and falls back to a basic NAME and AGE layout for missing or custom resources (CRDs). Unlike K9s, there is no native way for a user to customize which columns are displayed, their alignment, or how JSON/Go templates parse specific fields into a custom table view.
Proposed solution
I would love to see a configuration mechanism (such as a views.yaml or a dedicated section in the sofka config file) that lets users override or define custom columns for any Kubernetes resource or CRD.
Ideally, it could look something like this:
Alternatives considered
Using kubectl get -o custom-columns=... or switching back to k9s for debugging complex CRDs that require seeing custom status fields immediately on the dashboard.
Additional context
No response
All reactions