We are developing a Custom Controller and creating resources with the cluster-scoped CR set to OwnerReference, but kubectl tree doesn't work as bellow:
$ kubectl api-resources
NAME SHORTNAMES APIGROUP NAMESPACED KIND
samples sample.example.org false Sample
$ kubectl tree samples sample -A
Error: failed to get samples/sample: the server could not find the requested resource
We are developing a Custom Controller and creating resources with the cluster-scoped CR set to OwnerReference, but
kubectl tree
doesn't work as bellow: