kubectl replicas code example
Example 1: kubectl list context
# list kubernets contexts
kubectl config get-contexts
Example 2: kubectl get pod by node
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
Example 3: kubectl describe to yaml
kubectl describe <type> <name> -o yaml