kubectl get info on pod code example
Example 1: kubectl list context
# list kubernets contexts
kubectl config get-contexts
Example 2: kubectl describe to yaml
kubectl describe -o yaml
# list kubernets contexts
kubectl config get-contexts
kubectl describe -o yaml