kubectl get <resource-type> <resource name> -o yaml #Example: kubectl get gateway my-app-gateway -o yaml