kubernetes / dashboard

General-purpose web UI for Kubernetes clusters
Apache License 2.0
14.4k stars 4.16k forks source link

CRD does not show the output like kubectl #7633

Open anannaya opened 1 year ago

anannaya commented 1 year ago

What happened?

We use flinkApplication operator , which shows the output status using kubectl like this

k get flinkApplication -A
NAMESPACE        NAME                                           PHASE           CLUSTER HEALTH   JOB HEALTH   JOB RESTARTS   AGE
agentproc        agent-snapshot-metrics                         Running         Green            Green        2              4d10h
agentproc        agent-statistics-metric-processor              Running         Green            Green        1              11d
agentproc        agent-summary-processor                        Running         Green            Green        1              4d10h
agentproc        site-snapshot-metrics                          Running         Green            Green        2              4d10h
agentproc        team-snapshot-metrics                          Running         Yellow           Yellow       4              430d
agentproc        usage-metric-processor                         Running         Green            Green        2              73d
agentstorage     raw-data-agent-storage-agent-activity          Running         Green            Green        3              4d10h
agentstorage     raw-data-agent-storage-agent-error             Running         Yellow           Yellow       11             533d
agentstorage     raw-data-agent-storage-agent-event             Running         Yellow           Yellow       11             533d
agentstorage     raw-data-agent-storage-agent-statistics        Running         Yellow           Yellow       11             533d
agentstorage     refined-data-agent-storage-agent-state         Running         Green            Green        1              21d
billing          agent-pstn-snapshot-metrics                                                                                 2d12h

But in a kubernetes dashboad does not shows these information , Is there any way to customize in UI?

image

What did you expect to happen?

Does not show the proper output in UI,

How can we reproduce it (as minimally and precisely as possible)?

Any CRD can be tested .

Anything else we need to know?

No response

What browsers are you seeing the problem on?

No response

Kubernetes Dashboard version

v2.7.0

Kubernetes version

1.23

Dev environment

No response

floreks commented 1 year ago

This is unfortunately not supported right now. We do not have any logic to read custom print columns as described in the k8s docs. It would be an enhancement.

https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#additional-printer-columns

anannaya commented 1 year ago

@floreks Thanks for responding .

ashutosh887 commented 1 year ago

@floreks I would like to work on this

anannaya commented 1 year ago

@ashutosh887 i can test and confirm.once the changes are ready

RafikFarhad commented 9 months ago

@maciaszczykm I would like to work on this if @ashutosh887 is no longer interested. Thanks.

chenshiwei-io commented 1 month ago

Hi, Is this issue useful now? If no one continues to do it, I would be interested in solving it.

RafikFarhad commented 1 month ago

@chenshiwei-io I think this is still useful, but the project lacks maintenance. My PR got closed due to lack of review. You can check my PR and brainstorm how to add test cases for the new code. I was unable to do that and was unable to get any expert opinion.

chenshiwei-io commented 1 month ago

@chenshiwei-io I think this is still useful, but the project lacks maintenance. My PR got closed due to lack of review. You can check my PR and brainstorm how to add test cases for the new code. I was unable to do that and was unable to get any expert opinion.

All right, thanks