Kubectl tips/tricks

List all resources under namespace

kubectl api-resources --verbs=list --namespaced -o name   | while read res; do echo $res:; kubectl get --show-kind --ignore-not-found -n default $res; done

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *