how to see yaml file in kubernetes code example Example: kubectl describe to yaml kubectl describe <type> <name> -o yaml