dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

CRD does not show the output like kubectl

Open anannaya opened this issue 2 years ago • 8 comments

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

anannaya avatar Feb 26 '23 07:02 anannaya

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

floreks avatar Feb 26 '23 20:02 floreks

@floreks Thanks for responding .

anannaya avatar Feb 27 '23 05:02 anannaya

@floreks I would like to work on this

ashutosh887 avatar Mar 17 '23 20:03 ashutosh887

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

anannaya avatar Mar 18 '23 04:03 anannaya

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

RafikFarhad avatar Dec 29 '23 06:12 RafikFarhad