kubectl-tree icon indicating copy to clipboard operation
kubectl-tree copied to clipboard

Have to disambiguate between deployment APIs is cumbersome

Open ahmetb opened this issue 5 years ago • 1 comments

$ kubectl tree deploy nginx
Error: ambiguous kind "deploy". use one of these as the KIND disambiguate: [deployments.v1beta1.extensions, deployments.v1.apps]

This is because both extensions/v1beta1 and apps/v1 are returned as "preferred" API resources from the kube-apiserver. Maybe we use filter to eliminate one.

ahmetb avatar Dec 23 '19 22:12 ahmetb

Pushed a temporary change that makes an exception for Deployment and Service objects.

ahmetb avatar Jan 02 '20 18:01 ahmetb