Java fabric8 Kubernetes-client: Any way of getting 'kubectl describe'?

128 views Asked by At

I'd like to programmatically get a printout similar to 'kubectl describe pod...' without using the command line. I'd like to ensure there is not a direct way to do it before starting to collect all the info together from a Pod and trying to code a similar format by myself.

I haven't found any example in https://github.com/fabric8io/kubernetes-client/tree/main/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples nor searching in forums.

Thanks in advance!

0

There are 0 answers