Use the same positional argument code and resource type parsing from query and make trace use it. So you can write the same expression as in kubectl get, e.g.
# Trace all buckets.
up alpha trace buckets
# Trace all Crossplane claims.
up alpha trace claims
# Trace buckets and vpcs.
up alpha trace buckets,vpc
# Trace the buckets prod and staging.
up alpha trace buckets prod staging
# Trace the bucket prod and the vpc default.
up alpha trace bucket/prod vpc/default
Use the same positional argument code and resource type parsing from query and make trace use it. So you can write the same expression as in
kubectl get
, e.g.