how to get yaml from kubernetes configmap code example Example: kubectl describe to yaml kubectl describe <type> <name> -o yaml